G-code Preview — API Reference
Guide
npm
GitHub
Preparing search index...
@chestnutlabs/gcode-parser
CancelledError
Class CancelledError
Hierarchy (
View Summary
)
ParseSessionError
CancelledError
Index
Constructors
constructor
Properties
code
partial?
src
Byte?
terminated
Constructors
constructor
new
CancelledError
(
message
:
string
,
partial
?:
ParseResult
,
terminated
?:
boolean
,
)
:
CancelledError
Parameters
message
:
string
Optional
partial
:
ParseResult
terminated
:
boolean
= false
True only when the terminate() backstop fired (cooperative path failed).
Returns
CancelledError
Properties
Readonly
code
code
:
string
Optional
Readonly
partial
partial
?:
ParseResult
Optional
Readonly
src
Byte
srcByte
?:
number
Readonly
terminated
terminated
:
boolean
= false
True only when the terminate() backstop fired (cooperative path failed).
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
code
partial
src
Byte
terminated
Guide
npm
GitHub
G-code Preview — API Reference
Loading...
True only when the terminate() backstop fired (cooperative path failed).