Optional
stackStatic
Optional
prepareStatic
stackStatic
SplitSplits the given error message into a known viewer error id and the message itself.
E.g.:
Message [InvalidParameterValue] Some error msg
returns { id: 'InvalidParameterValue', msg: 'Some error msg' }
id = The extracted error id (one of GlobalViewerErrorIds
) or undefined
if no valid ID has been found
msg = The error message without the prefixed ID. Returns the whole given message
if it isn't prefixed
with a known ID in the correct format.
An error message in the form [KnownErrorId] Some error msg
Static
captureGenerated using TypeDoc
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces