Dropbox .NET SDK
Show / Hide Table of Contents

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
object
Exception
DropboxException
StructuredException<TError>
AccessException
ApiException<TError>
AuthException
PathRootException
RateLimitException
Implements
ISerializable
Inherited Members
DropboxException.ToString()
DropboxException.RequestId
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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 Source

StructuredException(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.

View Source

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 Source

ErrorResponse

Gets the error response.

Declaration
public TError ErrorResponse { get; }
Property Value
Type Description
TError

The error response.

View Source

Message

Gets the exception message.

Declaration
public override string Message { get; }
Property Value
Type Description
string
Overrides
Exception.Message

Implements

ISerializable
  • View Source
In this article
Back to top Dropbox .NET SDK