Constructor
new HTTPError(status, msgopt)
Instantiate the error.
        Parameters:
        
    
    
    
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
status | 
            
            number | 500 | the HTTP status code  | 
        |
msg | 
            
            
                
                    <optional> | 
            
            
                the HTTP status message. If not provided, the default message for the status code is used.  | 
        
- Source:
 
Extends
- Error