setup-php/node_modules/asn1/lib/ber/errors.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

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;
}
};