Table of Contents

Class ApiException

Namespace
BoldSign.Api
Assembly
BoldSign.Api.dll

API Exception

public class ApiException : Exception, ISerializable
Inheritance
ApiException
Implements
Inherited Members

Constructors

ApiException()

Initializes a new instance of the ApiException class.

public ApiException()

ApiException(int, string)

Initializes a new instance of the ApiException class.

public ApiException(int errorCode, string message)

Parameters

errorCode int

HTTP status code.

message string

Error message.

ApiException(int, string, dynamic)

Initializes a new instance of the ApiException class.

public ApiException(int errorCode, string message, dynamic errorContent = null)

Parameters

errorCode int

HTTP status code.

message string

Error message.

errorContent dynamic

Error content.

Properties

ErrorCode

Gets or sets the error code (HTTP status code)

public int ErrorCode { get; set; }

Property Value

int

The error code (HTTP status code).

ErrorContent

Gets or sets the error content (body json object)

public dynamic ErrorContent { get; }

Property Value

dynamic

The error content (Http response body).