class XIVAPI::Dataclasses::Exception
- XIVAPI::Dataclasses::Exception
- Reference
- Object
Overview
Dataclass for Exceptions returned from the API. This class will be used to generate custom exception instances.
Defined in:
dataclasses/other/exception.crConstructors
Instance Method Summary
-
#debug : JSON::Any
Extra arbitrary data that helps the API devs understand bugs.
- #debug=(_debug : JSON::Any)
-
#error : Bool
A flag stating if the exception was an error or not.
- #error=(_error : Bool)
-
#exception_type : String
The name of the exception that was thrown.
- #exception_type=(_exception_type : String)
-
#hash : String
A sha1 trackable hash of the exception.
- #hash=(_hash : String)
-
#message : String
The exception message from the API.
- #message=(_message : String)
-
#subject : String
String indicating the type of exception that was received.
- #subject=(_subject : String)
- #to_json(json : JSON::Builder)
Constructor Detail
Instance Method Detail
def debug : JSON::Any
#
Extra arbitrary data that helps the API devs understand bugs. Do not code against this classure as it can change at any time.