SeqAn3
3.4.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Loading...
Searching...
No Matches
exceptions.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
9
10
#pragma once
11
12
#include <
stdexcept
>
13
14
#include <
seqan3/core/platform.hpp
>
15
16
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."
);
17
18
namespace
seqan3
19
{
38
class
argument_parser_error
:
public
std::runtime_error
39
{
40
public
:
44
argument_parser_error
(
std::string
const
& s) :
std
::
runtime_error
(s)
45
{}
46
};
47
51
class
unknown_option
:
public
argument_parser_error
52
{
53
public
:
57
unknown_option
(
std::string
const
& s) :
argument_parser_error
(s)
58
{}
59
};
60
64
class
too_many_arguments
:
public
argument_parser_error
65
{
66
public
:
70
too_many_arguments
(
std::string
const
& s) :
argument_parser_error
(s)
71
{}
72
};
73
77
class
too_few_arguments
:
public
argument_parser_error
78
{
79
public
:
83
too_few_arguments
(
std::string
const
& s) :
argument_parser_error
(s)
84
{}
85
};
86
90
class
required_option_missing
:
public
argument_parser_error
91
{
92
public
:
96
required_option_missing
(
std::string
const
& s) :
argument_parser_error
(s)
97
{}
98
};
99
103
class
option_declared_multiple_times
:
public
argument_parser_error
104
{
105
public
:
109
option_declared_multiple_times
(
std::string
const
& s) :
argument_parser_error
(s)
110
{}
111
};
112
116
class
user_input_error
:
public
argument_parser_error
117
{
118
public
:
122
user_input_error
(
std::string
const
& s) :
argument_parser_error
(s)
123
{}
124
};
125
129
class
validation_error
:
public
argument_parser_error
130
{
131
public
:
135
validation_error
(
std::string
const
& s) :
argument_parser_error
(s)
136
{}
137
};
138
149
class
design_error
:
public
argument_parser_error
150
{
151
public
:
155
design_error
(
std::string
const
& s) :
argument_parser_error
(s)
156
{}
157
};
158
159
}
// 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
Version:
seqan3
argument_parser
exceptions.hpp
Generated on
for SeqAn3 by
1.17.0