/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Result.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: acossari +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/08/20 20:02:19 by acossari #+# #+# */ /* Updated: 2026/08/21 20:02:26 by acossari ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once #include #include "http/HttpStatus.hpp" namespace webserv { // Discarding a Result can hide a request error. Neither this alias nor // std::expected can enforce [[nodiscard]], so every function returning a // Result must declare the attribute itself. template using Result = std::expected; } // namespace webserv