ReactivePlusPlus
ReactiveX implementation for C++20
Loading...
Searching...
No Matches
exceptions.hpp
1
// ReactivePlusPlus library
2
//
3
// Copyright Aleksey Loginov 2023 - present.
4
// Distributed under the Boost Software License, Version 1.0.
5
// (See accompanying file LICENSE_1_0.txt or copy at
6
// https://www.boost.org/LICENSE_1_0.txt)
7
//
8
// Project home: https://github.com/victimsnino/ReactivePlusPlus
9
//
10
11
#pragma once
12
13
#include <stdexcept>
14
15
namespace
rpp::utils
16
{
17
struct
not_enough_emissions
:
public
std::runtime_error
18
{
19
using
std::runtime_error::runtime_error;
20
};
21
22
struct
more_disposables_than_expected
:
public
std::runtime_error
23
{
24
using
std::runtime_error::runtime_error;
25
};
26
27
struct
timeout_reached
:
public
std::runtime_error
28
{
29
using
std::runtime_error::runtime_error;
30
};
31
32
struct
out_of_range
:
public
std::range_error
33
{
34
using
std::range_error::range_error;
35
};
36
}
// namespace rpp::utils
rpp::utils::more_disposables_than_expected
Definition
exceptions.hpp:23
rpp::utils::not_enough_emissions
Definition
exceptions.hpp:18
rpp::utils::out_of_range
Definition
exceptions.hpp:33
rpp::utils::timeout_reached
Definition
exceptions.hpp:28
src
rpp
rpp
utils
exceptions.hpp
Generated by
1.12.0