Api Exception
Base exception for all API exceptions. Constructs a new ApiException with specified status code, error and description.
Parameters
status Code
The status code of the exception. Maps to HTTP status codes.
error
The error/name of the exception.
message
The reason and description for the exception.