Class StructuredException<TError>
The exception type that will be raised by an Dropbox.Api.Stone.ITransport implementation if there is an error processing the request which contains a json body.
Inheritance
StructuredException<TError>
Implements
Inherited Members
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public abstract class StructuredException<TError> : DropboxException, ISerializable
Type Parameters
| Name | Description |
|---|---|
| TError | The type of the error. |
Constructors
View SourceStructuredException(string)
Initializes a new instance of the StructuredException<TError> class.
Declaration
protected StructuredException(string requestId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | requestId | The Dropbox request id. |
Remarks
This constructor is only used when decoded from JSON.
StructuredException(string, string)
Initializes a new instance of the StructuredException<TError> class.
Declaration
protected StructuredException(string requestId, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | requestId | The Dropbox request id. |
| string | message | The error message. |
Properties
View SourceErrorResponse
Gets the error response.
Declaration
public TError ErrorResponse { get; }
Property Value
| Type | Description |
|---|---|
| TError | The error response. |
Message
Gets the exception message.
Declaration
public override string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |