summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/asn1/lib/ber/errors.js
blob: 4557b8aea0272122d6654cf754e245ca73e3c721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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;
  }

};