Plato on Github
Report Home
node_modules/asn1/lib/ber/errors.js
Maintainability
75.06
Lines of code
10
Difficulty
6.55
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
// 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; } };