katoikia-app/web-ui/web-react/node_modules/asn1/lib/ber/errors.js

14 lines
240 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
// 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;
}
};