public function handle(Exception $e) { $status = 404; $error = ['status' => (string) $status, 'code' => 'route_not_found']; return new ResponseBag($status, [$error]); }