20#ifndef ORES_HTTP_SERVER_CONFIG_PARSER_EXCEPTION_HPP
21#define ORES_HTTP_SERVER_CONFIG_PARSER_EXCEPTION_HPP
24#include <boost/exception/all.hpp>
26namespace ores::http_server::config {
31class parser_exception :
public virtual std::exception,
public virtual boost::exception {
33 explicit parser_exception(std::string message) : message_(std::move(message)) {}
34 const char* what()
const noexcept override {
return message_.c_str(); }
Exception thrown when command line parsing fails.
Definition parser_exception.hpp:31