ServerResponse

open class ServerResponse(response: Response<*>) : MimiCoreException

Constructs a MimiCoreException from an error response.

If the response contains error details from the backend, those will be available via the errorDetails field.

Important: This class is not stable for inheritance, as new methods may be added, but is stable for use.

Inheritors

Constructors

Link copied to clipboard
constructor(response: Response<*>)

Types

Link copied to clipboard

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

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