Package io.moonsense.sdk.exception

Types

MoonsenseException
Link copied to clipboard
abstract class MoonsenseException(message: String?, cause: Throwable?) : Exception

Super class for all the Exceptions returned by the Moonsense SDK.

MoonsenseInitializationException
Link copied to clipboard
class MoonsenseInitializationException(message: String?, cause: Throwable?) : MoonsenseException

Exception returned when there is a problem initializing the SDK. Use the message field for additional information about the error. In some cases the exceptions are non recoverable i.e. the SDK cannot proceed with normal operation by retrying for example.

MoonsenseNetworkException
Link copied to clipboard
class MoonsenseNetworkException(message: String?, cause: Throwable?) : MoonsenseException

Exception returned for most network errors reported by the SDK. Use the message field for additional information about the network error.