DbError

sealed class DbError : ErrorS1SDK

DbError is a sealed interface that represents the different types of errors that can occur making a request to an local DB.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
object NotFound : DbError

NotFound when the requested data was not found.

Link copied to clipboard
data class Unknown(val cause: Throwable) : DbError

Unknown when the server responded with an unknown error or the request failed for an unknown reason.