Class: SecurityException

SecurityException(msg, ex)

Salmon generic security exception.

Constructor

new SecurityException(msg, ex)

Construct an exception with a specific message and inner exception.
Parameters:
Name Type Default Description
msg string | null null The provided message.
ex Error | unknown | null null The inner exception.
Source:

Classes

SecurityException

Methods

getCause() → {Error|unknown|null}

Get the cause (inner exception) of this exception.
Source:
Returns:
The inner exception.
Type
Error | unknown | null