MatterError

class MatterError : BaseHomeError


Summary

Public constructors

MatterError(message: String, domain: HomeErrorDomain?, reason: String?)
MatterError(
    code: Int,
    message: String,
    domain: HomeErrorDomain?,
    reason: String?
)

Public functions

open operator Boolean
equals(other: Any?)

Public properties

open Int

the error code in HomeException.Codes

open HomeErrorDomain?

the error domain

open String

the error message

open String?

the reason for the error which represents UPPER_SNAKE_CASE string.

Public constructors

MatterError

MatterError(
    message: String,
    domain: HomeErrorDomain? = null,
    reason: String? = null
)

MatterError

MatterError(
    code: Int,
    message: String,
    domain: HomeErrorDomain? = null,
    reason: String? = null
)

Public functions

equals

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

Public properties

code

open val codeInt

the error code in HomeException.Codes

domain

open val domainHomeErrorDomain?

the error domain

message

open val messageString

the error message

reason

open val reasonString?

the reason for the error which represents UPPER_SNAKE_CASE string.