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
System.Object
System.Exception
StructuredException<TError>
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public abstract class StructuredException<TError> : DropboxException, _Exception, ISerializable
Type Parameters
Name | Description |
---|---|
TError | The type of the error. |
Constructors
| Improve this Doc View SourceStructuredException(String)
Initializes a new instance of the StructuredException<TError> class.
Declaration
protected StructuredException(string requestId)
Parameters
Type | Name | Description |
---|---|---|
System.String | requestId | The Dropbox request id. |
Remarks
This constructor is only used when decoded from JSON.
Properties
| Improve this Doc 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 |
---|---|
System.String |
Overrides
System.Exception.Message
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable