HomeError

class HomeError


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(code: Int, message: String)

Public functions

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

Public properties

Int

the error code in HomeException.Codes

String

the error message

Public constructors

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

val codeInt

the error code in HomeException.Codes

message

val messageString

the error message