Skip to content

Commit

Permalink
Updated Version information
Browse files Browse the repository at this point in the history
Fixed AerospikeError Api documentation
Modifiied README.md
Modified incompatible.md
Updated Version information
Modified preBuiltBinding.js
  • Loading branch information
DomPeliniAerospike committed Sep 22, 2023
1 parent e943c75 commit 09ac5db
Show file tree
Hide file tree
Showing 6 changed files with 309 additions and 275 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

The Aerospike Node.js client is a Node.js add-on module, written using V8.

The client is compatible with Node.js 20 (LTS), 19, 18 (LTS), 16 (LTS).
The client is compatible with Node.js 20 (Upcoming LTS) and 18 (LTS).
It supports the following operating systems:
- RHEL 8/9
- Debian 10 (x86_64 architecture only)
Expand Down
5 changes: 5 additions & 0 deletions incompatible.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Backward Incompatible API Changes

All notable changes to this project will be documented in this file.
## [5.8.0]

### Client no longer supports Node.js version 19
### Client no longer supports Node.js version 16

## [5.5.0]

### Client no longer supports Node.js version 14
Expand Down
9 changes: 5 additions & 4 deletions lib/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
const status = require('./status')

/**
* Error raised by the client when execution of a database command fails. This
* may be either due to an error status code returned by the server, or caused
* by an error condition that occured on the client side.
*
*
* @extends Error
* @class AerospikeError
* @classdesc Error raised by the client when execution of a database command fails. This
* may be either due to an error status code returned by the server, or caused
* by an error condition that occured on the client side.
*
* @example <caption>Expected output: "Error: 127.0.0.1:3000 Record does not exist in database. May be returned by read, or write with policy Aerospike.policy.exists.UPDATE [2]"</caption>
*
Expand All @@ -49,7 +51,6 @@ const status = require('./status')
* })
*/
class AerospikeError extends Error {
/** @private */
constructor (message, command) {
super(message)
this.name = this.constructor.name
Expand Down
Loading

0 comments on commit 09ac5db

Please sign in to comment.