UNPKG

netsuite-oauth-client

Version:

NetSuite OAuth 1.0 client library for Node.js with TypeScript support

24 lines 707 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SignatureError = exports.ValidationError = exports.OAuthError = void 0; class OAuthError extends Error { constructor(message, code) { super(message); this.code = code; this.name = 'OAuthError'; } } exports.OAuthError = OAuthError; class ValidationError extends OAuthError { constructor(message) { super(message, 'VALIDATION_ERROR'); } } exports.ValidationError = ValidationError; class SignatureError extends OAuthError { constructor(message) { super(message, 'SIGNATURE_ERROR'); } } exports.SignatureError = SignatureError; //# sourceMappingURL=index.js.map