UNPKG

odoo-xmlrpc-ts

Version:

Type-safe Odoo XML-RPC client for Node.js written in TypeScript

18 lines (17 loc) 535 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OdooAuthenticationError = exports.OdooError = void 0; class OdooError extends Error { constructor(message) { super(message); this.name = 'OdooError'; } } exports.OdooError = OdooError; class OdooAuthenticationError extends OdooError { constructor(message = 'Authentication failed') { super(message); this.name = 'OdooAuthenticationError'; } } exports.OdooAuthenticationError = OdooAuthenticationError;