UNPKG

@yamamotok/dataobject

Version:

Decorator based JSON serializer and deserializer.

12 lines 381 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomError = void 0; class CustomError extends Error { constructor(message) { super(message); const trueProto = new.target.prototype; Object.setPrototypeOf(this, trueProto); } } exports.CustomError = CustomError; //# sourceMappingURL=CustomError.js.map