Loading...
Searching...
No Matches
exceptions.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <stdexcept>
#include <seqan3/core/platform.hpp>
SEQAN3_DEPRECATED_HEADER("This header and its functionality is deprecated and will be removed in a future version of SeqAn. Please use the sharg-parser (url: https://github.com/seqan/sharg-parser) instead.");
namespace seqan3
{
class argument_parser_error : public std::runtime_error
{
public:
argument_parser_error(std::string const & s) : std::runtime_error(s)
{}
};
class unknown_option : public argument_parser_error
{
public:
unknown_option(std::string const & s) : argument_parser_error(s)
{}
};
class too_many_arguments : public argument_parser_error
{
public:
too_many_arguments(std::string const & s) : argument_parser_error(s)
{}
};
class too_few_arguments : public argument_parser_error
{
public:
too_few_arguments(std::string const & s) : argument_parser_error(s)
{}
};
class required_option_missing : public argument_parser_error
{
public:
required_option_missing(std::string const & s) : argument_parser_error(s)
{}
};
class option_declared_multiple_times : public argument_parser_error
{
public:
option_declared_multiple_times(std::string const & s) : argument_parser_error(s)
{}
};
class user_input_error : public argument_parser_error
{
public:
user_input_error(std::string const & s) : argument_parser_error(s)
{}
};
class validation_error : public argument_parser_error
{
public:
validation_error(std::string const & s) : argument_parser_error(s)
{}
};
class design_error : public argument_parser_error
{
public:
design_error(std::string const & s) : argument_parser_error(s)
{}
};
} // namespace seqan3
std::string
seqan3::argument_parser_error::argument_parser_error
argument_parser_error(std::string const &s)
The constructor.
Definition exceptions.hpp:44
seqan3::design_error::design_error
design_error(std::string const &s)
The constructor.
Definition exceptions.hpp:155
seqan3::option_declared_multiple_times::option_declared_multiple_times
option_declared_multiple_times(std::string const &s)
The constructor.
Definition exceptions.hpp:109
seqan3::required_option_missing::required_option_missing
required_option_missing(std::string const &s)
The constructor.
Definition exceptions.hpp:96
seqan3::too_few_arguments::too_few_arguments
too_few_arguments(std::string const &s)
The constructor.
Definition exceptions.hpp:83
seqan3::too_many_arguments::too_many_arguments
too_many_arguments(std::string const &s)
The constructor.
Definition exceptions.hpp:70
seqan3::unknown_option::unknown_option
unknown_option(std::string const &s)
The constructor.
Definition exceptions.hpp:57
seqan3::user_input_error::user_input_error
user_input_error(std::string const &s)
The constructor.
Definition exceptions.hpp:122
seqan3::validation_error::validation_error
validation_error(std::string const &s)
The constructor.
Definition exceptions.hpp:135
seqan3
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
std
SeqAn specific customisations in the standard namespace.
platform.hpp
Provides platform and dependency checks.
std::runtime_error
stdexcept
Hide me