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
/
configuration
/
ConfiguratorException.js
10 lines
(7 loc)
•
293 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
CherryError
=
require
(
'../abstract/CherryError'
)
class
ConfiguratorException
extends
CherryError
{
constructor
(
key,
type
, expectedType
) {
super
(
`An error occured : The option '
${key}
' is of type '
${
type
}
', expected
${expectedType}
`
) } }
module
.
exports
=
ConfiguratorException