Table of Contents

Class CodeParserException

Namespace
DuetAPI
Assembly
DuetAPI.dll

Exception that is thrown when a G/M/T-code could not be parsed

public class CodeParserException : Exception, ISerializable
Inheritance
CodeParserException
Implements
Inherited Members

Constructors

CodeParserException()

Creates a new CodeParserException

public CodeParserException()

CodeParserException(string)

Creates a new CodeParserException

public CodeParserException(string message)

Parameters

message string

Exception message

CodeParserException(string, Code)

Creates a new CodeParserException with details where the parser failed to read data

public CodeParserException(string message, Code code)

Parameters

message string

Exception message

code Code

Code being parsed

CodeParserException(string, Exception)

Creates a new CodeParserException

public CodeParserException(string message, Exception inner)

Parameters

message string

Exception message

inner Exception

Inner exception

Properties

Code

Code causing the error

public Code? Code { get; }

Property Value

Code