zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/ServiceFileNotAbsolute.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
export default class ServiceFileNotAbsolute extends Error {
  constructor (path) {
    super(`Service file not absolute: ${path}`)
    this.name = 'ServiceFileNotAbsolute'
    this.stack = (new Error()).stack
  }
}