Class: NexmoApiError

NexmoApiError(error)

Error constructor of an API-error

Constructor

new NexmoApiError(error)

Parameters:
Name Type Description
error object API error, always containing {type: }
Source: