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

@venncity/errors

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@venncity/errors - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.4.1](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@1.4.0...@venncity/errors@1.4.1) (2019-10-24)
**Note:** Version bump only for package @venncity/errors
# [1.4.0](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@1.3.0...@venncity/errors@1.4.0) (2019-10-22)

@@ -8,0 +16,0 @@

4

package.json
{
"name": "@venncity/errors",
"version": "1.4.0",
"version": "1.4.1",
"author": "Venn Engineering",

@@ -29,3 +29,3 @@ "main": "src/index.js",

},
"gitHead": "a34d45d4f2b77c730b9e98c02bceaba155aa2386"
"gitHead": "b0a79280047ee179906117673f0195764a78009c"
}

@@ -32,4 +32,4 @@ const { VError } = require('verror');

class ThrottlingError extends VennError {
constructor({ cause, message, clientVisible }) {
super({ cause, message, clientVisible, statusCode: 429, name: VENN_THROTTLING_ERROR });
constructor({ cause, message, clientVisible, logLevel }) {
super({ cause, message, clientVisible, statusCode: 429, name: VENN_THROTTLING_ERROR, logLevel });
}

@@ -46,4 +46,4 @@ }

class ServerDataValidationError extends DataValidationError {
constructor({ cause, message, clientVisible = false }) {
super({ cause, message, clientVisible, statusCode: 500, name: VENN_SERVER_DATA_VALIDATION_ERROR });
constructor({ cause, message, clientVisible = false, logLevel }) {
super({ cause, message, clientVisible, statusCode: 500, name: VENN_SERVER_DATA_VALIDATION_ERROR, logLevel });
}

@@ -59,3 +59,3 @@ }

class ForbiddenError extends VennError {
constructor({ cause, message }) {
constructor({ cause, message, logLevel }) {
super({

@@ -65,3 +65,4 @@ name: VENN_FORBIDDEN_ERROR,

message,
statusCode: 403
statusCode: 403,
logLevel
});

@@ -68,0 +69,0 @@ }

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