OADA Standard Error Middleware