Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/codec
Diagnostic
Class Diagnostic
Hierarchy
Diagnostic
Implements
Display
Index
Constructors
constructor
Properties
cause
input
message
note
severity
tag
Methods
display
to
String
create
display
Message
expected
message
unexpected
Constructors
constructor
new
Diagnostic
(
input
:
Input
, tag
:
Tag
, severity
:
Severity
, message
:
undefined
|
string
, note
:
undefined
|
string
, cause
:
null
|
Diagnostic
)
:
Diagnostic
Parameters
input:
Input
tag:
Tag
severity:
Severity
message:
undefined
|
string
note:
undefined
|
string
cause:
null
|
Diagnostic
Returns
Diagnostic
Properties
Readonly
cause
cause
:
null
|
Diagnostic
Readonly
input
input
:
Input
Readonly
message
message
:
undefined
|
string
Readonly
note
note
:
undefined
|
string
Readonly
severity
severity
:
Severity
Readonly
tag
tag
:
Tag
Methods
display
display
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
to
String
to
String
(
settings
?:
OutputSettings
)
:
string
Parameters
Optional
settings:
OutputSettings
Returns
string
Static
create
create
(
input
:
Input
, tag
:
Tag
, severity
:
Severity
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
create
(
input
:
Input
, tag
:
Tag
, severity
:
Severity
, message
:
undefined
|
string
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
create
(
input
:
Input
, tag
:
Tag
, severity
:
Severity
, message
:
undefined
|
string
, note
:
undefined
|
string
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
Parameters
input:
Input
tag:
Tag
severity:
Severity
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
input:
Input
tag:
Tag
severity:
Severity
message:
undefined
|
string
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
input:
Input
tag:
Tag
severity:
Severity
message:
undefined
|
string
note:
undefined
|
string
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Static
display
Message
display
Message
(
severity
:
Severity
, message
:
undefined
|
string
, output
:
Output
<
unknown
>
)
:
void
Parameters
severity:
Severity
message:
undefined
|
string
output:
Output
<
unknown
>
Returns
void
Static
expected
expected
(
expected
:
string
|
number
, input
:
Input
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
expected
(
expected
:
string
|
number
, input
:
Input
, note
:
string
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
expected
(
expected
:
string
|
number
, input
:
Input
, severity
:
Severity
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
expected
(
expected
:
string
|
number
, input
:
Input
, severity
?:
Severity
, note
?:
string
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
Parameters
expected:
string
|
number
input:
Input
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
expected:
string
|
number
input:
Input
note:
string
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
expected:
string
|
number
input:
Input
severity:
Severity
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
expected:
string
|
number
input:
Input
Optional
severity:
Severity
Optional
note:
string
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Static
message
message
(
message
:
string
, input
:
Input
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
message
(
message
:
string
, input
:
Input
, note
:
string
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
message
(
message
:
string
, input
:
Input
, severity
:
Severity
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
message
(
message
:
string
, input
:
Input
, severity
?:
Severity
, note
?:
string
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
Parameters
message:
string
input:
Input
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
message:
string
input:
Input
note:
string
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
message:
string
input:
Input
severity:
Severity
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
message:
string
input:
Input
Optional
severity:
Severity
Optional
note:
string
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Static
unexpected
unexpected
(
input
:
Input
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
unexpected
(
input
:
Input
, note
:
string
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
unexpected
(
input
:
Input
, severity
:
Severity
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
unexpected
(
input
:
Input
, severity
?:
Severity
, note
?:
string
, cause
?:
null
|
Diagnostic
)
:
Diagnostic
Parameters
input:
Input
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
input:
Input
note:
string
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
input:
Input
severity:
Severity
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Parameters
input:
Input
Optional
severity:
Severity
Optional
note:
string
Optional
cause:
null
|
Diagnostic
Returns
Diagnostic
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Diagnostic
constructor
cause
input
message
note
severity
tag
display
to
String
create
display
Message
expected
message
unexpected
Generated using
TypeDoc