class staticbo.rules. AuthorizationError
            Source: rules/
Represents an authorization error.
new AuthorizationError([message][, ...messageParams])
Creates an authorization error object.
Parameters
| Name | Type | Optional | Description | 
|---|---|---|---|
| 
                       message  | 
                    
                       string  | 
                    
                       Yes  | 
                    
                       Human-readable description of the error.  | 
                  
| 
                       messageParams  | 
                    
                       any type  | 
                    
                       Yes  | 
                    
                       Optional interpolation parameters of the message. Value can be repeated.  | 
                  
- Extends
 - Error
 - See also
 - Error for further information.
 
Properties
message string
Human-readable description of the error.
name string
The name of the error type.
- Default value