Lund-Org/cherry

View on GitHub
src/hooks/HookException.js

Summary

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