new AuthorizationError(message, messageParams)
Creates an authorization error object.
Parameters:
| Name | Type | Argument | Description | 
|---|---|---|---|
message | 
            
            string | 
                
                    <optional> | 
            
            
            Human-readable description of the error.  | 
        
messageParams | 
            
            * | 
                
                    <optional> <repeatable>  | 
            
            
            Optional interpolation parameters of the message.  | 
        
- See:
 - 
		
- Error for further information.
 
 
Extends
- Error
 
Members
- 
    
message :string
 - 
    
    
Human-readable description of the error.
Type:
- string
 
 - 
    
name :string
 - 
    
    
The name of the error type.
Type:
- string
 
- Default Value:
 - 
		
- AuthorizationError