mobitel-json-schema-template
Version:
NodeJs module for helping creation JSON schemas
14 lines (12 loc) • 356 B
JavaScript
/** Handling errors for JSON-Schema template module */
class JSONSchemaTemplateError extends Error {
/**
* @param {*} args Error message
*/
constructor(...args) {
super(...args);
this.name = this.constructor.name;
Error.captureStackTrace(this, this.constructor);
}
}
module.exports = JSONSchemaTemplateError;