NetworkError

sealed class NetworkError : Throwable

Common http errors

Types

BadRequestError
Link copied to clipboard
class BadRequestError : NetworkError
This error indicates that request is not recognized by the server (HTTP Error 400)
NotAuthError
Link copied to clipboard
class NotAuthError : NetworkError
This error indicates the user is not currently signed in (HTTP Error 401)
NotFoundError
Link copied to clipboard
class NotFoundError : NetworkError
This error indicates that requested resource was not found on server (HTTP Error 404)
ServiceFailedError
Link copied to clipboard
class ServiceFailedError : NetworkError
This error indicates that the backend failed to execute with given parameters
ServiceUnavailableError
Link copied to clipboard
class ServiceUnavailableError : NetworkError
This error indicates the backend is currently unavailable (HTTP Error 500)

Functions

addSuppressed
Link copied to clipboard
fun addSuppressed(p0: Throwable)
fillInStackTrace
Link copied to clipboard
open fun fillInStackTrace(): Throwable
getLocalizedMessage
Link copied to clipboard
open fun getLocalizedMessage(): String
getStackTrace
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
getSuppressed
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
initCause
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
printStackTrace
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
setStackTrace
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

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

Inheritors

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