src/dispatcher.js
function defaultErrorStrategy (env, error) {
  return {
    status: 500,
    error: error,
    data: `An unhandled error of '${error.name}' occurred at ${env.resource} - ${env.action}`
  }
}
function defaultErrorStrategy (env, error) {
  return {
    status: 500,
    error: error,
    data: `An unhandled error of '${error.name}' occurred at ${env.resource} - ${env.action}`
  }
}
function defaultErrorStrategy ( env , error ) { return { status : 500 , error : error , data : ` ${ error . name } ${ env . resource } ${ env . action } ` } }
not ideal perhaps, but something has to happen
not ideal perhaps but something has to happen