EmptyDataJSONException

Exception, to be thrown when an API query to the Twitch servers failed, due to having received empty JSON data.

It is a normal Exception but with attached metadata.

Constructors

this
this(string message, JSONValue _json, string file, size_t line, Throwable nextInChain)

Create a new EmptyDataJSONException, attaching a response body.

this
this(string message, string file, size_t line, Throwable nextInChain)

Create a new EmptyDataJSONException, without attaching anything.

Members

Functions

json
JSONValue json()

Accessor to _json.

Variables

_json
JSONValue _json;

The response body that was received.

Inherited Members

From TwitchJSONException

json
JSONValue json()

Accessor to a JSONValue that this exception refers to.