BackendException

class BackendException(message: String, title: String, detail: String, httpStatusCode: Int) : SmartSpacesSdkException

Signals error returned by an API call.

Constructors

BackendException
Link copied to clipboard
fun BackendException(message: String, title: String, detail: String, httpStatusCode: Int)

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?
detail
Link copied to clipboard
val detail: String

Error details

httpStatusCode
Link copied to clipboard
val httpStatusCode: Int

HTTP status code of the error. Usually 4xx or 5xx

message
Link copied to clipboard
open val message: String?
title
Link copied to clipboard
val title: String

Error title