Class ErrorCode
The error code object
Inheritance
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ErrorCode
Constructors
View SourceErrorCode()
Initializes a new instance of the ErrorCode class.
Declaration
public ErrorCode()
Properties
View SourceAsAccessError
Gets this instance as a AccessError, or null.
Declaration
public ErrorCode.AccessError AsAccessError { get; }
Property Value
| Type | Description |
|---|---|
| ErrorCode.AccessError |
AsApiError
Gets this instance as a ApiError, or null.
Declaration
public ErrorCode.ApiError AsApiError { get; }
Property Value
| Type | Description |
|---|---|
| ErrorCode.ApiError |
AsBadRequest
Gets this instance as a BadRequest, or null.
Declaration
public ErrorCode.BadRequest AsBadRequest { get; }
Property Value
| Type | Description |
|---|---|
| ErrorCode.BadRequest |
AsOther
Gets this instance as a Other, or null.
Declaration
public ErrorCode.Other AsOther { get; }
Property Value
| Type | Description |
|---|---|
| ErrorCode.Other |
AsRatelimitError
Gets this instance as a RatelimitError, or null.
Declaration
public ErrorCode.RatelimitError AsRatelimitError { get; }
Property Value
| Type | Description |
|---|---|
| ErrorCode.RatelimitError |
AsUnavailable
Gets this instance as a Unavailable, or null.
Declaration
public ErrorCode.Unavailable AsUnavailable { get; }
Property Value
| Type | Description |
|---|---|
| ErrorCode.Unavailable |
AsUnknownError
Gets this instance as a UnknownError, or null.
Declaration
public ErrorCode.UnknownError AsUnknownError { get; }
Property Value
| Type | Description |
|---|---|
| ErrorCode.UnknownError |
IsAccessError
Gets a value indicating whether this instance is AccessError
Declaration
public bool IsAccessError { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsApiError
Gets a value indicating whether this instance is ApiError
Declaration
public bool IsApiError { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsBadRequest
Gets a value indicating whether this instance is BadRequest
Declaration
public bool IsBadRequest { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsOther
Gets a value indicating whether this instance is Other
Declaration
public bool IsOther { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsRatelimitError
Gets a value indicating whether this instance is RatelimitError
Declaration
public bool IsRatelimitError { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsUnavailable
Gets a value indicating whether this instance is Unavailable
Declaration
public bool IsUnavailable { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsUnknownError
Gets a value indicating whether this instance is UnknownError
Declaration
public bool IsUnknownError { get; }
Property Value
| Type | Description |
|---|---|
| bool |