UNPKG

@lund-org/cherry

Version:

A light framework to quickly create a web server

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