@highoutput/error
TypeScript icon, indicating that this package has built-in type declarations

0.1.12 • Public • Published

error

Error with code and metadata.

Usage

import AppError from '@highoutput/error';

new AppError(
  'RESOURCE_NOT_FOUND',
  'Account does not exist.',
  { id: 'ec6756c7264dcd6851f0345278face9a' },
)

Readme

Keywords

Package Sidebar

Install

npm i @highoutput/error

Weekly Downloads

10

Version

0.1.12

License

ISC

Unpacked Size

6.05 kB

Total Files

11

Last publish

Collaborators

  • ccpacillos
  • rrmadjos
  • glvnzn
  • highoutputventures
  • highoutputdev