The parameter that caused this exception.
Rest
...args: [message: string, metadata?: unknown]Readonly
messageDetails of the exception.
Optional
Readonly
metadataReadonly
paramThe parameter that caused this exception.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackTurns the exception into a Serialized object.
Static
capture
A method cannot accept a non-null parameter as input.