InvalidCredentialsException

Exception, to be thrown when credentials or grants are invalid.

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 InvalidCredentialsException, attaching a response body.

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

Create a new InvalidCredentialsException, attaching a channel name.

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

Create a new InvalidCredentialsException, without attaching anything.

Members

Variables

channelName
string channelName;

The channel name for which the credentials were invalid, if applicable.

json
JSONValue json;

The response body that was received.