Show / Hide Table of Contents

Class ApiException

API Exception

Inheritance
System.Object
ApiException
Namespace: BoldSign.Api
Assembly: BoldSign.Api.dll
Syntax
public class ApiException : Exception

Constructors

| Improve this Doc View Source

ApiException()

Initializes a new instance of the ApiException class.

Declaration
public ApiException()
| Improve this Doc View Source

ApiException(Int32, String)

Initializes a new instance of the ApiException class.

Declaration
public ApiException(int errorCode, string message)
Parameters
Type Name Description
System.Int32 errorCode

HTTP status code.

System.String message

Error message.

| Improve this Doc View Source

ApiException(Int32, String, Object)

Initializes a new instance of the ApiException class.

Declaration
public ApiException(int errorCode, string message, dynamic errorContent = null)
Parameters
Type Name Description
System.Int32 errorCode

HTTP status code.

System.String message

Error message.

System.Object errorContent

Error content.

Properties

| Improve this Doc View Source

ErrorCode

Gets or sets the error code (HTTP status code)

Declaration
public int ErrorCode { get; set; }
Property Value
Type Description
System.Int32

The error code (HTTP status code).

| Improve this Doc View Source

ErrorContent

Gets or sets the error content (body json object)

Declaration
public dynamic ErrorContent { get; }
Property Value
Type Description
System.Object

The error content (Http response body).

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2001-2021 Syncfusion Inc.
All Rights Reserved