4.0.2 • Published 5 months ago
edge-error v4.0.2
edge-error
Create errors with custom stack trace pointing to a ".edge" file
The package extends the native Error class and adds support for pushing an error stack frame pointing to a ".edge" template file.
Usage
Install the package from the npm packages registry.
npm i edge-error
# yarn
yarn add edge-error
Then use it as follows
import { EdgeError } from 'edge-error'
throw new EdgeError('message', 'status', {
line: 1,
col: 2,
filename: 'absolute/path/to/index.edge'
})
4.0.2
5 months ago
4.0.1
1 year ago
4.0.0
2 years ago
4.0.0-0
2 years ago
3.0.0
3 years ago
2.0.8
3 years ago
2.0.7
3 years ago
2.0.6
4 years ago
2.0.5
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.4
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.5
5 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
7 years ago
1.0.0
7 years ago