1 | module.exports = class httpBundle extends nodefony.Bundle {
|
2 | constructor(name, kernel, container) {
|
3 | super(name, kernel, container);
|
4 | this.autoLoader.loadDirectory(path.resolve(this.path, "src"), /errors/);
|
5 | this.autoLoader.load(path.resolve(this.path, "src", "errors", "httpError.js"));
|
6 | this.autoLoader.load(path.resolve(this.path, "src", "errors", "errorRequest.js"));
|
7 | }
|
8 | }; |
\ | No newline at end of file |