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
System.Object
System.Exception
DropboxException
StructuredException<TError>
AccessException
ApiException<TError>
AuthException
PathRootException
RateLimitException
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable
Inherited Members
DropboxException.ToString()
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 Source

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

ErrorResponse

Gets the error response.

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

The error response.

| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • StructuredException(String)
  • Properties
    • ErrorResponse
    • Message
  • Implements
Back to top Generated by DocFX