SeqAn3  3.0.3
The Modern C++ library for sequence analysis.
exceptions.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
13 #pragma once
14 
15 #include <stdexcept>
16 
17 #include <seqan3/core/platform.hpp>
18 
19 namespace seqan3
20 {
21 
25 {
26 public:
30  parser_invalid_argument(std::string const & s) : std::invalid_argument(s) {}
31 };
32 
49 {
50 public:
55 };
56 
59 {
60 public:
65 };
66 
69 {
70 public:
75 };
76 
79 {
80 public:
85 };
86 
89 {
90 public:
95 };
96 
99 {
100 public:
105 };
106 
110 {
111 public:
116 };
117 
121 {
122 public:
127 };
128 
131 {
132 public:
137 };
138 
141 {
142 public:
147 };
148 
152 {
153 public:
158 };
159 
171 {
172 public:
177 };
178 
182 {
183 public:
187  parser_design_error(std::string const & s) : std::logic_error(s) {}
188 };
189 
190 } // namespace seqan3
Argument parser exception that is thrown whenever there is an error while parsing the command line ar...
Definition: exceptions.hpp:49
argument_parser_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:54
Argument parser exception that is thrown whenever there is an design error directed at the developer ...
Definition: exceptions.hpp:171
design_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:176
Argument parser exception thrown when a non-list option is declared multiple times.
Definition: exceptions.hpp:99
option_declared_multiple_times(std::string const &s)
The constructor.
Definition: exceptions.hpp:104
This class is deprecated.
Definition: exceptions.hpp:121
overflow_error_on_conversion(std::string const &s)
The constructor.
Definition: exceptions.hpp:126
This class is deprecated.
Definition: exceptions.hpp:182
parser_design_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:187
This class is deprecated.
Definition: exceptions.hpp:25
parser_invalid_argument(std::string const &s)
The constructor.
Definition: exceptions.hpp:30
Argument parser exception thrown when a required option is missing.
Definition: exceptions.hpp:89
required_option_missing(std::string const &s)
The constructor.
Definition: exceptions.hpp:94
Argument parser exception thrown when too few arguments are provided.
Definition: exceptions.hpp:79
too_few_arguments(std::string const &s)
The constructor.
Definition: exceptions.hpp:84
Argument parser exception thrown when too many arguments are provided.
Definition: exceptions.hpp:69
too_many_arguments(std::string const &s)
The constructor.
Definition: exceptions.hpp:74
This class is deprecated.
Definition: exceptions.hpp:110
type_conversion_failed(std::string const &s)
The constructor.
Definition: exceptions.hpp:115
Argument parser exception thrown when encountering unknown option.
Definition: exceptions.hpp:59
unknown_option(std::string const &s)
The constructor.
Definition: exceptions.hpp:64
Argument parser exception thrown when an incorrect argument is given as (positional) option value.
Definition: exceptions.hpp:131
user_input_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:136
Argument parser exception thrown when an argument could not be casted to the according type.
Definition: exceptions.hpp:141
validation_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:146
This class is deprecated.
Definition: exceptions.hpp:152
validation_failed(std::string const &s)
The constructor.
Definition: exceptions.hpp:157
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
SeqAn specific customisations in the standard namespace.
Provides platform and dependency checks.
#define SEQAN3_DEPRECATED_310
Deprecation message for SeqAn 3.1.0 release.
Definition: platform.hpp:200