UNPKG

@carlosv2/glue

Version:

Dependency injection library that stays out of the way

17 lines (16 loc) 566 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeserialiseError = exports.SerialiseError = void 0; const error_1 = require("../error"); class SerialiseError extends error_1.DiError { constructor(format, path) { super(`Unable to serialise ${format} data in ${path}`); } } exports.SerialiseError = SerialiseError; class DeserialiseError extends error_1.DiError { constructor(format, path) { super(`Unable to deserialise ${format} data in ${path}`); } } exports.DeserialiseError = DeserialiseError;