class

XIVAPI::Dataclasses::Exception

Inherits JSON::Serializable < Reference < Object

Dataclass for Exceptions returned from the API. This class will be used to generate custom exception instances.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

debug

Extra arbitrary data that helps the API devs understand bugs. Do not code against this classure as it can change at any time.

Source
error

A flag stating if the exception was an error or not.

Source
exception_type

The name of the exception that was thrown.

Source
hash

A sha1 trackable hash of the exception.

Source
message

The exception message from the API.

Source
subject

String indicating the type of exception that was received.

Source