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' },
)
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.