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

![Coverage](https://api.venn.city/production/coverage/badge?branch=master&repository=@venncity/errors)

  • 2.1.16-upgrade-lerna-to-four.25
  • upgrade-lerna-to-four
  • npm
  • Socket score

Version published
Weekly downloads
418
decreased by-1.42%
Maintainers
1
Weekly downloads
 
Created
Source

Errors

Coverage

Provides data validation and common error objects.

Error types:
  • VennError
  • VennUnknownError
  • VennForbiddenError
  • VennThrottlingError
  • VennServerDataValidationError
  • VennClientDataValidationError
validator.assert(value, schema, overrides)

Used to validate an object schema against a schema (using the joi dsl - https://github.com/hapijs/joi/blob/v15.0.0/lib/language.js). The ValidationError field in the overrides param lets you select what type of error will be thrown upon a validation error.

FAQs

Package last updated on 14 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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