Constructs error with the given info.
Error info.
Static Optional prepareOptional override for formatting stack traces
Static stackOptional causeError cause. E.g. an exception thrown.
Default error message in English.
'Unexpected error'
Optional stackError code.
Error details that can be used e.g. to build localized error message.
Path to the value containing the error.
Static captureStatic createCreates URI charge error caused by the given cause.
cause is UcError already, then just returns it.cause is an error info, then wraps it into error.cause is a string, then uses it as error message, with error code.cause is an Error, the uses its message as error message, and Error instance
as error cause with error cause.cause as error cause with error code and default error
message.Cause of error.
Error instance.
Generated using TypeDoc
Charge error.
Represents an error info wrapped into
Error.