Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redink-errors

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redink-errors - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

25

dist/index.js

@@ -6,3 +6,3 @@ 'use strict';

});
exports.RedinkDatabaseError = exports.RedinkError = exports.RedinkHttpError = undefined;
exports.RedinkUtilError = exports.RedinkDatabaseError = exports.RedinkError = exports.RedinkHttpError = undefined;

@@ -90,2 +90,25 @@ var _httpErrors = require('http-errors');

return RedinkDatabaseError;
}(RedinkError);
/**
* Redink database util error handler.
* Class that extends the `RedinkError` class.
*
* @param {String} Message - Message describing the error.
*/
var RedinkUtilError = exports.RedinkUtilError = function (_RedinkError2) {
_inherits(RedinkUtilError, _RedinkError2);
function RedinkUtilError(message) {
_classCallCheck(this, RedinkUtilError);
var _this4 = _possibleConstructorReturn(this, Object.getPrototypeOf(RedinkUtilError).call(this, message));
_this4.name = 'RedinkUtilError';
return _this4;
}
return RedinkUtilError;
}(RedinkError);

2

package.json
{
"name": "redink-errors",
"version": "0.0.1",
"version": "0.0.2",
"description": "Module to handle Redink errors",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc