zazoomauro/node-dependency-injection

View on GitHub
lib/Exception/ServiceFileNotValidExtension.js

Summary

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