private static function hookError(App $cdl, Slim $app, string $method, array $options){
        $routing = $app->{$method}($options['url'], System::jsonResponse(function (){
            return Route::noRoute();
        }));
        self::applyMiddleware($cdl, $options, $routing);
    }