new SecurityException(error)
Create a new SecurityException to report an exception from the security
library, wrapping the given error object.
Call with: throw new SecurityException(new Error("message")).
Parameters:
Name | Type | Description |
---|---|---|
error |
Error | The exception created with new Error. |
- Source: