Class: NexmoApiError

NexmoApiError

Error constructor of an API-error


new NexmoApiError(error)

Parameters:
Name Type Description
error object

API error, always containing {type: }

Source: