Table of Contents

Class ApiException

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll
public class ApiException : Exception, ISerializable
Inheritance
ApiException
Implements
Derived
Inherited Members

Constructors

ApiException(string, int, string, IReadOnlyDictionary<string, IEnumerable<string>>, Exception)

public ApiException(string message, int statusCode, string response, IReadOnlyDictionary<string, IEnumerable<string>> headers, Exception innerException)

Parameters

message string
statusCode int
response string
headers IReadOnlyDictionary<string, IEnumerable<string>>
innerException Exception

Properties

Headers

public IReadOnlyDictionary<string, IEnumerable<string>> Headers { get; }

Property Value

IReadOnlyDictionary<string, IEnumerable<string>>

Response

public string Response { get; }

Property Value

string

StatusCode

public int StatusCode { get; }

Property Value

int

Methods

ToString()

Creates and returns a string representation of the current exception.

public override string ToString()

Returns

string

A string representation of the current exception.