[CONJS-123] export SqlError to permit testing instanceOf Created: 2020-03-10  Updated: 2020-03-19  Resolved: 2020-03-10

Status: Closed
Project: MariaDB Connector/node.js
Component/s: API
Affects Version/s: None
Fix Version/s: 2.3.0

Type: New Feature Priority: Minor
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Actual error class SQLError is not available out of module.
Exporting class type would permit to test if error is instance of SqlError, so check properties without any possible issues.


Generated at Thu Feb 08 03:22:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.