Initializes a new instance of the AccessDeniedError class.
Optionalmessage: stringThe error message. If not specified, a default one will be used.
Rest...args: unknown[]The values to substitute into the format string. Null and undefined values will be converted into empty strings.
An error that is thrown when the current user does not have permission to access a resource or perform an operation.