Welcome to mirror list, hosted at ThFree Co, Russian Federation.

errors.js « ber « lib « asn1 « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ff21d4fab352e30a8ab360403c1fc65865c676e7 (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;
  }

};