At this stage only a MiddlewareError can be raised