SecureError extends Error
This error is thrown by some methods when a security violation occurs.
See Exceptions and Secure for more information.
(opts: object | string)
If opts is a string, then it contains the message description of the problem. The technical will default to being undefined.
If opts is an objec†, then:
message: string; // This message contains an end-user-facing error message that can be displayed in the UI.
technical?: string; // If present, this should contain additional technical information that would be relevant to a software developer.
This a description of the security violation.
This contains the stack trace if available.
If present, this should contain additional technical information that would be relevant to a software developer.
This returns message.