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
When a method is called and at least one of the provided arguments (which should never be null) is null.