Constructor
new AccessDeniedException(messageopt, innerMessageopt)
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
message | 
            
            string | 
                
                    <optional> | 
            
            
            The error message | 
innerMessage | 
            
            string | 
                
                    <optional> | 
            
            
            The error inner message | 
Properties:
| Name | Type | Description | 
|---|---|---|
code | 
            
            string | A string that represents an error code. The error code is EACCESS. | 
status | 
            
            number | A number that represents an error status. The error status is 401. | 
message | 
            
            string | The error message. | 
innerMessage | 
            
            string | The error inner message. |