@datapos/datapos-shared
Preparing search index...
errors
serialiseError
Function serialiseError
serialiseError
(
error
?:
unknown
)
:
SerialisedError
[]
Serializes an error and its cause chain into a flat structure.
Errors are ordered from outermost to root cause.
Cycles in the cause chain are safely ignored.
Messages are normalized to end with punctuation.
Parameters
Optional
error
:
unknown
Returns
SerialisedError
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@datapos/datapos-shared
Loading...
Serializes an error and its cause chain into a flat structure.