The Smart-Spaces SDK does not
throw any exception, but it can return as part of the Response when the status is
Besides some common java exceptions such as IllegalStateException, IllegalArgumentException and IOException, there are a few SDK specific exceptions.
All of them extend from the Kotlin sealed class
That’s the default exception given on the
This exception is added to the Response when the client application cancels an operation and uses the default value.
That’s given on the Response when an API call to the backend return a specific error message.
That’s given on the Response when a GATT operation fails.
Error code is one of the