mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-15 07:36:18 +00:00
14 lines
240 B
JavaScript
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;
|
||
|
}
|
||
|
|
||
|
};
|