Class InternalServerException
Wrapper around internal server-side exceptions that are reported as part of command responses
Implements
Inherited Members
Namespace: DuetAPI
Assembly: DuetAPI.dll
Syntax
public class InternalServerException : Exception, ISerializable
Constructors
InternalServerException(string, string, string)
Constructor of this exception class
Declaration
public InternalServerException(string command, string type, string message)
Parameters
Type | Name | Description |
---|---|---|
string | command | Name of the command that failed |
string | type | Type of the thrown .NET error |
string | message | Message of the thrown .NET error |
Properties
Command
API command causing the exception
Declaration
public string Command { get; }
Property Value
Type | Description |
---|---|
string |
Type
Type of the thrown exception
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
string |