Atrium — shared contracts and the typesetting engine
Preparing search index...
@ebook-reader/typeset
hasErrors
Function hasErrors
hasErrors
(
diagnostics
:
readonly
{
code
?:
|
"syntax"
|
"unsupported"
|
"undefined-command"
|
"undefined-environment"
|
"undefined-reference"
|
"duplicate-label"
|
"missing-file"
|
"missing-font"
|
"overfull-box"
|
"underfull-box"
|
"budget-exceeded"
|
"limit-exceeded"
|
"stopped"
|
"internal"
;
column
?:
number
;
construct
?:
string
;
file
:
string
;
line
:
number
;
message
:
string
;
severity
:
"error"
|
"warning"
|
"info"
;
}
[]
,
)
:
boolean
Errors stop a compile from producing a PDF; warnings and info never do.
Parameters
diagnostics
:
readonly
{
code
?:
|
"syntax"
|
"unsupported"
|
"undefined-command"
|
"undefined-environment"
|
"undefined-reference"
|
"duplicate-label"
|
"missing-file"
|
"missing-font"
|
"overfull-box"
|
"underfull-box"
|
"budget-exceeded"
|
"limit-exceeded"
|
"stopped"
|
"internal"
;
column
?:
number
;
construct
?:
string
;
file
:
string
;
line
:
number
;
message
:
string
;
severity
:
"error"
|
"warning"
|
"info"
;
}
[]
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Atrium — shared contracts and the typesetting engine
Loading...
Errors stop a compile from producing a PDF; warnings and info never do.