quickbooks-api
Version:
A modular TypeScript SDK for seamless integration with Intuit QuickBooks APIs. Provides robust authentication handling and future-ready foundation for accounting, payments, and commerce operations.
21 lines (20 loc) • 458 B
JavaScript
/**
* The Quickbooks Error Class
*/
export class QuickbooksError extends Error {
/**
* The Intuit Error Details
*/
details;
/**
* Initialize the Quickbooks Error
* @param message The error message
* @param details The Intuit error details
*/
constructor(message, details) {
// Initialize the Error
super(message);
// Set the Intuit Error Details
this.details = details;
}
}