HomeError

class HomeError : BaseHomeError


Representation of an error that happened during an API call. The code allows the developers to reference the documentation for more information.

Summary

Public constructors

HomeError(message: String)
HomeError(code: Int, message: String)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

open Int

the error code in HomeException.Codes

open String

the error message

Public constructors

HomeError

HomeError(message: String)

HomeError

HomeError(code: Int, message: String)
Parameters
code: Int

the error code in HomeException.Codes

message: String

the error message

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

code

open val codeInt

the error code in HomeException.Codes

message

open val messageString

the error message