Hello'); } #[Route('/error')] public function error(): ResponseInterface { return new GenericResponse('error', StatusEnum::NOT_FOUND); } #[Route('/hello')] public function hello(): ResponseInterface { return new GenericResponse('Hello World!'); } }