UNPKG
@lund-org/cherry
Version:
latest (0.2.2)
0.2.2
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1
A light framework to quickly create a web server
github.com/Lund-Org/cherry
Lund-Org/cherry
@lund-org/cherry
/
src
/
routes
/
exceptions
/
RouteManagerException.js
10 lines
(7 loc)
•
283 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
CherryError
=
require
(
'../../abstract/CherryError'
)
class
RouteManagerException
extends
CherryError
{
constructor
(
config, error
) {
super
(
`An error occured :
${error}
. The route config sent was :
${
JSON
.stringify(config)}
`
) } }
module
.
exports
=
RouteManagerException