UnexpectedJSONException

A normal Exception but where its type conveys the specific context of a JSONValue having unexpected contents.

It optionally embeds the JSON.

Constructors

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

Create a new UnexpectedJSONException, attaching a JSONValue.

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

Constructor.

Members

Functions

json
JSONValue json()

Accessor to _json.

Variables

_json
JSONValue _json;

JSONValue in question.

Inherited Members

From TwitchJSONException

json
JSONValue json()

Accessor to a JSONValue that this exception refers to.