new NexmoApiError(error)
Parameters:
| Name | Type | Description | 
|---|---|---|
error | 
            
            object | API error, always containing {type:   | 
        
- Source:
 
Error constructor of an API-error
| Name | Type | Description | 
|---|---|---|
error | 
            
            object | API error, always containing {type:   |