TErrorOptions
TErrorOptions =
object
Properties
key
key:
string
data?
optionaldata:object
language?
optionallanguage:string
logLevel?
optionallogLevel:otrisLogger.LogLevels
cause?
optionalcause:unknown
The underlying technical reason, appended to the translated message untranslated - an Error, the result of
getLastError() or any other value. Use this for failures whose message would not change what the user does
next (a failing sync(), a database error): the translated key provides the actionable frame, the cause the
technical detail for support.