Class: Error

ConsumerDb. Error

new Error(error)

Create a new ConsumerDb.Error to report an error using ConsumerDb methods, wrapping the given error object. Call with: throw new ConsumerDb.Error(new Error("message")).
Parameters:
Name Type Description
error Error The exception created with new Error.
Source: