Class ErrorResponse
Response indicating a runtime exception during the internal processing of a command
Inherited Members
Namespace: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
public sealed class ErrorResponse : BaseResponse
Constructors
ErrorResponse()
Creates a new response indicating a runtime error. This constructor is only used for deserialization
Declaration
public ErrorResponse()
ErrorResponse(Exception)
Creates a new response indicating a runtime error
Declaration
public ErrorResponse(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | Exception to report |
Properties
ErrorMessage
Message of the .NET exception
Declaration
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
ErrorType
Name of the .NET exception
Declaration
public string ErrorType { get; set; }
Property Value
Type | Description |
---|---|
string |