Struct ErrorResponse
An error response from algorand APIs with optional data field.
Assembly: cs.temp.dll.dll
Syntax
[AlgoApiFormatter(typeof(ErrorResponseFormatter))]
[Serializable]
public struct ErrorResponse : IEquatable<ErrorResponse>
Fields
Code
Declaration
Field Value
Data
Declaration
Field Value
Message
Declaration
Field Value
Properties
IsError
Declaration
public bool IsError { get; }
Property Value
Methods
Equals(ErrorResponse)
Declaration
public bool Equals(ErrorResponse other)
Parameters
Returns
ThrowIfError()
Declaration
public void ThrowIfError()
ToString()
Declaration
public override string ToString()
Returns
Overrides
WithCode(Int64)
Declaration
public ErrorResponse WithCode(long code)
Parameters
Type |
Name |
Description |
Int64 |
code |
|
Returns
Operators
Implicit(ErrorResponse to Boolean)
Declaration
public static implicit operator bool (ErrorResponse error)
Parameters
Returns
Implicit(ErrorResponse to String)
Declaration
public static implicit operator string (ErrorResponse error)
Parameters
Returns