error
Error with code and metadata.
Usage
import AppError from '@highoutput/error';
new AppError(
'RESOURCE_NOT_FOUND',
'Account does not exist.',
{ id: 'ec6756c7264dcd6851f0345278face9a' },
)
error
Error with code and metadata.
import AppError from '@highoutput/error';
new AppError(
'RESOURCE_NOT_FOUND',
'Account does not exist.',
{ id: 'ec6756c7264dcd6851f0345278face9a' },
)
npm i @highoutput/error
10
0.1.12
ISC
6.05 kB
11