Class ErrorResponse
Provides a way to store errors from a response
public class ErrorResponse
- Inheritance
-
ErrorResponse
- Inherited Members
Constructors
ErrorResponse()
Initializes a new instance of the ErrorResponse class.
public ErrorResponse()
ErrorResponse(Dictionary<string, object?>?)
Initializes a new instance of the ErrorResponse class using the specified values.
public ErrorResponse(Dictionary<string, object?>? responseValue)
Parameters
responseValue
Dictionary<string, object>A Dictionary<TKey, TValue> containing names and values of the properties of this ErrorResponse.
Properties
ClassName
Gets or sets the class name that threw the error
public string? ClassName { get; }
Property Value
Message
Gets or sets the message from the response
public string Message { get; }
Property Value
Screenshot
Gets or sets the screenshot of the error
public string? Screenshot { get; }
Property Value
StackTrace
Gets or sets the stack trace of the error
public StackTraceElement[]? StackTrace { get; }