KnowledgeOS API Reference
Preparing search index...
graph/src
GraphError
Class GraphError
Base error class for all KnowledgeOS errors
Hierarchy (
View Summary
)
KernelError
GraphError
Index
Constructors
constructor
Properties
category
code
details
error
Context?
graph
Category
graph
Code
retryable
severity
suggestion?
timestamp
Methods
to
JSON
Constructors
constructor
new
GraphError
(
message
:
string
,
detail
:
GraphErrorDetail
,
options
?:
Partial
<
KernelErrorOptions
>
,
)
:
GraphError
Parameters
message
:
string
detail
:
GraphErrorDetail
Optional
options
:
Partial
<
KernelErrorOptions
>
Returns
GraphError
Properties
Readonly
category
category
:
ErrorCategory
Readonly
code
code
:
string
Readonly
details
details
:
readonly
ErrorDetail
[]
Optional
Readonly
error
Context
errorContext
?:
Record
<
string
,
unknown
>
Readonly
graph
Category
graphCategory
:
GraphErrorCategory
Readonly
graph
Code
graphCode
:
GraphErrorCode
Readonly
retryable
retryable
:
boolean
Readonly
severity
severity
:
ErrorSeverity
Optional
Readonly
suggestion
suggestion
?:
string
Readonly
timestamp
timestamp
:
string
Methods
to
JSON
toJSON
()
:
Record
<
string
,
unknown
>
Returns
Record
<
string
,
unknown
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
category
code
details
error
Context
graph
Category
graph
Code
retryable
severity
suggestion
timestamp
Methods
to
JSON
KnowledgeOS API Reference
Loading...
Base error class for all KnowledgeOS errors