Skip to content

Commit

Permalink
docs: remove requirement for error handler (#7438)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Nov 25, 2024
1 parent 6a0d95c commit cb2d73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/driver.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ The `Driver` class inherits from the Node.js [EventEmitter](https://nodejs.org/a
| Event | Description |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `"error"` | Is emitted when the underlying serial port emits an error or invalid data is received. You **must** add a listener for this event, otherwise unhandled `"error"` events will crash your application! |
| `"error"` | Is emitted when the underlying serial port emits an error or invalid data is received. |
| `"driver ready"` | Is emitted after the controller interview is completed but before the node interview is started. |
| `"all nodes ready"` | Is emitted when all nodes are safe to be used (i.e. the `"ready"` event has been emitted for all nodes). |
| `"bootloader ready"` | Is emitted when the controller is in recovery mode (e.g. after a failed firmware upgrade) and the bootloader has been entered. This behavior is opt-in using the `allowBootloaderOnly` flag of the [`ZWaveOptions`](#ZWaveOptions). If it is, the driver instance will only be good for interacting with the bootloader, e.g. for flashing a new image. The `"driver ready"` event will not be emitted and commands attempting to talk to the serial API will fail in this mode. |
Expand Down

0 comments on commit cb2d73e

Please sign in to comment.