KnowledgeOS API Reference
Preparing search index...
persistence/src
PersistenceError
Class PersistenceError
Base error class for all KnowledgeOS errors
Hierarchy (
View Summary
)
KernelError
PersistenceError
Index
Constructors
constructor
Properties
category
code
details
error
Context?
persistence
Code
retryable
severity
suggestion?
timestamp
Methods
to
JSON
Constructors
constructor
new
PersistenceError
(
message
:
string
,
detail
:
PersistenceErrorDetail
,
options
?:
Partial
<
KernelErrorOptions
>
,
)
:
PersistenceError
Parameters
message
:
string
detail
:
PersistenceErrorDetail
Optional
options
:
Partial
<
KernelErrorOptions
>
Returns
PersistenceError
Properties
Readonly
category
category
:
ErrorCategory
Readonly
code
code
:
string
Readonly
details
details
:
readonly
ErrorDetail
[]
Optional
Readonly
error
Context
errorContext
?:
Record
<
string
,
unknown
>
Readonly
persistence
Code
persistenceCode
:
PersistenceErrorCode
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
persistence
Code
retryable
severity
suggestion
timestamp
Methods
to
JSON
KnowledgeOS API Reference
Loading...
Base error class for all KnowledgeOS errors