Roboten Errors
Errors that can be thrown in Roboten applications
Usage
import { UserInputError } from '@roboten/errors'
const inputValue = 1
if (inputValue > 0) {
throw new UserInputError('Input value might not be bigger than 0')
}
Errors that can be thrown in Roboten applications
import { UserInputError } from '@roboten/errors'
const inputValue = 1
if (inputValue > 0) {
throw new UserInputError('Input value might not be bigger than 0')
}
npm i @roboten/errors
2
1.0.2
UNLICENSED
6.95 kB
5