Srcom::CodeException
Inherits Srcom::StatusException / Exception / Reference / Object
This exception is raised in Api#request and Api#request_single_item when a request fails with
an API error response that has a descriptive message and support links.
Constructors
new(response : HTTP::Client::Response, error : APIError)
SourceInstance methods
error
Sourceerror_message
The API error message that was returned by Srcom, for example "Game <id> could not be found"
or "The submitted run does not validate against the schema. See the errors attached.".
message
Sourceto_s(io)
Source