ApiError

A representation of our api errors from our backend.

Parameters

status

The http error code, e.g. 404 or 500.

subStatus

The sub status, specifying what type of error it is.

userMessage

A descriptive message to help the user know what went wrong.

Types

Link copied to clipboard
class Factory(gson: Gson)
Link copied to clipboard
sealed class SubStatus

The different sub status codes sent from our backend. These tell us why something went wrong.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val status: Int?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard