Class: IntegrityException

IntegrityException(msg, ex)

Thrown when data are corrupt or tampered with.

Constructor

new IntegrityException(msg, ex)

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

Classes

IntegrityException

Methods

getCause() → {Error|unknown|null}

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