Class ApiException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
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.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Algorand
Assembly: Algorand.dll
Syntax
public class ApiException : Exception, ISerializable
Constructors
| Improve this Doc View SourceApiException(string, int, string, IReadOnlyDictionary<string, IEnumerable<string>>, Exception)
Declaration
public ApiException(string message, int statusCode, string response, IReadOnlyDictionary<string, IEnumerable<string>> headers, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
int | statusCode | |
string | response | |
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue><string, System.Collections.Generic.IEnumerable<T><string>> | headers | |
System.Exception | innerException |
Properties
| Improve this Doc View SourceHeaders
Declaration
public IReadOnlyDictionary<string, IEnumerable<string>> Headers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue><string, System.Collections.Generic.IEnumerable<T><string>> |
Response
Declaration
public string Response { get; }
Property Value
Type | Description |
---|---|
string |
StatusCode
Declaration
public int StatusCode { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
System.Exception.ToString()
Implements
System.Runtime.Serialization.ISerializable