M8tyException
class M8tyException(val message: String, val code: String, val httpStatus: HttpStatus) : AbstractM8tyException
Represents the common exception of the m8ty system.
This exception can be used to throw any error via the API.
Parameters
message
The detail message explaining the exception.
code
The error code associated with the exception.
httpStatus
The HTTP status code associated with the exception.