linx-simulator2/node_modules/asn1/lib/ber/errors.js
2019-09-18 11:11:16 +03:00

14 lines
240 B
JavaScript

// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
module.exports = {
newInvalidAsn1Error: function (msg) {
var e = new Error();
e.name = 'InvalidAsn1Error';
e.message = msg || '';
return e;
}
};