UNPKG

@lund-org/cherry

Version:

A light framework to quickly create a web server

10 lines (7 loc) 261 B
const CherryError = require('../abstract/CherryError') class HookException extends CherryError { constructor (option) { super(`An error occured : The option '${option}' is missing or invalid in the hook definition`) } } module.exports = HookException