add an error service, base controller
This commit is contained in:
1 parent
0cfe9d60fb
commit
ddf3e8251d
20 files changed
+412
-301
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { asyncHandler } from "../service/infrastructure/errorService.js";
|
||||
|
||||
class BaseController {
|
||||
constructor() {
|
||||
this.asyncHandler = asyncHandler;
|
||||
}
|
||||
}
|
||||
export default BaseController;
|
||||
Reference in new issue
Block a user