source:
trip-planner-front/node_modules/asn1/lib/ber/errors.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 240 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved. |
2 | ||
3 | ||
4 | module.exports = { | |
5 | ||
6 | newInvalidAsn1Error: function (msg) { | |
7 | var e = new Error(); | |
8 | e.name = 'InvalidAsn1Error'; | |
9 | e.message = msg || ''; | |
10 | return e; | |
11 | } | |
12 | ||
13 | }; |
Note:
See TracBrowser
for help on using the repository browser.