UNPKG

@lund-org/cherry

Version:

A light framework to quickly create a web server

10 lines (7 loc) 293 B
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