Class UnauthorizedException
Represents an exception thrown when requester doesn't have necessary permissions to complete the request.
Inheritance
System.Object
System.Exception
UnauthorizedException
Namespace: DisCatSharp.Exceptions
Assembly: DisCatSharp.dll
Syntax
public class UnauthorizedException : Exception, ISerializable
Properties
| Improve this Doc View SourceJsonMessage
Gets the JSON received.
Declaration
public string JsonMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
WebRequest
Gets the request that caused the exception.
Declaration
public BaseRestRequest WebRequest { get; }
Property Value
Type | Description |
---|---|
BaseRestRequest |
WebResponse
Gets the response to the request.
Declaration
public RestResponse WebResponse { get; }
Property Value
Type | Description |
---|---|
RestResponse |