Table of Contents

Class ErrorResponse

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Response indicating a runtime exception during the internal processing of a command

public sealed class ErrorResponse : BaseResponse
Inheritance
ErrorResponse
Inherited Members

Constructors

ErrorResponse()

Creates a new response indicating a runtime error. This constructor is only used for deserialization

public ErrorResponse()

ErrorResponse(Exception)

Creates a new response indicating a runtime error

public ErrorResponse(Exception e)

Parameters

e Exception

Exception to report

Properties

ErrorMessage

Message of the .NET exception

public string ErrorMessage { get; set; }

Property Value

string

ErrorType

Name of the .NET exception

public string ErrorType { get; set; }

Property Value

string