twitst4tz

twitter statistics web application
Log | Files | Refs | README | LICENSE

errors.js (240B)


      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 };