SoException is the abstract base class that all Sonamu exception classes inherit from. It can include HTTP status codes, messages, and additional payloads.
Type Definition
Properties
statusCode
message
LocalizedString type, delivering localized strings through Sonamuβs i18n system.
payload
Utility Functions
isSoException()
Checks whether a given value is an instance ofSoException.