Lund-Org/cherry

View on GitHub
src/routes/exceptions/RouteManagerException.js

Summary

Maintainability
A
0 mins
Test Coverage
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