Skip to content

Event.error

Grant Carthew edited this page Nov 19, 2016 · 5 revisions

Event Details

Subject: Queue or Job

Signature: (queueId, err)

Returns: queueId String

  • The id of the Queue object that raised the error.

Returns: err Object

  • The Node.js Error object with details about the exception.

Example:

const Queue = require('rethinkdb-job-queue')
const q = new Queue()

q.on('error', (queueId, err) => console.error(err))

Description

The error event is raised whenever an error is detected within the rethinkdb-job-queue module. This is a local Queue object event.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally