tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
domain_error.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
3
#ifndef TETL_STDEXCEPT_DOMAIN_ERROR_HPP
4
#define TETL_STDEXCEPT_DOMAIN_ERROR_HPP
5
6
#include <
etl/_stdexcept/logic_error.hpp
>
7
8
namespace
etl
{
9
10
struct
domain_error
:
logic_error
{
11
constexpr
domain_error
() =
default
;
12
13
constexpr
explicit
domain_error
(
char
const
*
what
)
14
:
logic_error
{
what
}
15
{
16
}
17
};
18
19
}
// namespace etl
20
21
#endif
// TETL_STDEXCEPT_DOMAIN_ERROR_HPP
logic_error.hpp
etl
Definition
adjacent_find.hpp:8
etl::domain_error::domain_error
constexpr domain_error(char const *what)
Definition
domain_error.hpp:13
etl::domain_error::domain_error
constexpr domain_error()=default
etl::exception::what
constexpr auto what() const noexcept -> char const *
Definition
exception.hpp:16
etl::logic_error::logic_error
constexpr logic_error()=default
include
etl
_stdexcept
domain_error.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0