Class CodeParserException
Exception that is thrown when a G/M/T-code could not be parsed
Implements
Inherited Members
Namespace: DuetAPI
Assembly: DuetAPI.dll
Syntax
public class CodeParserException : Exception, ISerializable
Constructors
CodeParserException()
Creates a new CodeParserException
Declaration
public CodeParserException()
CodeParserException(string)
Creates a new CodeParserException
Declaration
public CodeParserException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | Exception message |
CodeParserException(string, Code)
Creates a new CodeParserException with details where the parser failed to read data
Declaration
public CodeParserException(string message, Code code)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | Exception message |
| Code | code | Code being parsed |
CodeParserException(string, Exception)
Creates a new CodeParserException
Declaration
public CodeParserException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | Exception message |
| Exception | inner | Inner exception |
Properties
Code
Code causing the error
Declaration
public Code? Code { get; }
Property Value
| Type | Description |
|---|---|
| Code |