core / com.schibsted.account.model.error / ClientError

ClientError

open class ClientError : Parcelable

A human readable error, produced by the Account SDK. The creation of these errors will be logged when running a debug build. This can be overwritten by setting Logger.loggingEnabled

Parameters

errorType - The ErrorType of the error

message - A human readable message of the error

Types

ErrorType

enum class ErrorType

Constructors

<init>

ClientError(errorType: ClientError.ErrorType, message: String)

A human readable error, produced by the Account SDK. The creation of these errors will be logged when running a debug build. This can be overwritten by setting Logger.loggingEnabled

Properties

errorType

val errorType: ClientError.ErrorType

The ErrorType of the error

message

val message: String

A human readable message of the error

Companion Object Properties

USER_LOGGED_OUT_ERROR

val USER_LOGGED_OUT_ERROR: ClientError