The ServerErrorException model represents the exception that is sent when the server returns or encounters an error. It contains the value of the API error origin and the actual error.

Available in the package


httpException (HttpException)

Occurs when there is a communication issue between the SDK and the Communications APIs platform over the HTTP protocol.

origin (ServerErrorOrigin)

The enumerated value of the API origin error.

error (ServerErrorMessage)

The server error that contains the error code, reason, and description.