ApiError

ApiError

Custom error type for API errors.

Constructor

new ApiError(errorBody)

Parameters:
Name Type Description
errorBody object

Error object.