userver
C++ Async Framework
Toggle main menu visibility
Documentation
API Groups
Namespaces
Reference
Class List
Class Index
File List
Macros
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
exceptions.hpp
1
#
pragma
once
2
3
#
include
<
ydb
-
cpp
-
sdk
/
client
/
types
/
status
/
status
.
h
>
4
5
#
include
<
stdexcept
>
6
#
include
<
string
>
7
#
include
<
string_view
>
8
9
USERVER_NAMESPACE_BEGIN
10
11
namespace
ydb {
12
13
class
BaseError
:
public
std::runtime_error {
14
using
std::runtime_error::runtime_error;
15
};
13
class
BaseError
:
public
std::runtime_error {
…
};
16
17
class
YdbResponseError
:
public
BaseError
{
18
public
:
19
explicit
YdbResponseError(std::string_view operation_name, NYdb::TStatus&& status);
20
21
const
NYdb::TStatus& GetStatus()
const
noexcept
;
22
23
private
:
24
NYdb::TStatus status_;
25
};
17
class
YdbResponseError
:
public
BaseError
{
…
};
26
27
class
UndefinedDatabaseError
:
public
BaseError
{
28
public
:
29
explicit
UndefinedDatabaseError(std::string error);
30
};
27
class
UndefinedDatabaseError
:
public
BaseError
{
…
};
31
32
class
EmptyResponseError
:
public
BaseError
{
33
public
:
34
explicit
EmptyResponseError(std::string_view expected);
35
};
32
class
EmptyResponseError
:
public
BaseError
{
…
};
36
37
class
ParseError
:
public
BaseError
{
38
public
:
39
explicit
ParseError(std::string error);
40
};
37
class
ParseError
:
public
BaseError
{
…
};
41
42
class
ColumnParseError
:
public
ParseError
{
43
public
:
44
ColumnParseError(std::string_view column_name, std::string_view message);
45
};
42
class
ColumnParseError
:
public
ParseError
{
…
};
46
47
class
TypeMismatchError
:
public
BaseError
{
48
public
:
49
TypeMismatchError(std::string_view name, std::string_view expected, std::string_view actual);
50
};
47
class
TypeMismatchError
:
public
BaseError
{
…
};
51
52
class
DeadlineExceededError
:
public
BaseError
{
53
public
:
54
explicit
DeadlineExceededError(std::string msg);
55
};
52
class
DeadlineExceededError
:
public
BaseError
{
…
};
56
57
class
InvalidTransactionError
:
public
BaseError
{
58
public
:
59
InvalidTransactionError();
60
};
57
class
InvalidTransactionError
:
public
BaseError
{
…
};
61
62
class
OperationCancelledError
:
public
BaseError
{
63
public
:
64
OperationCancelledError();
65
};
62
class
OperationCancelledError
:
public
BaseError
{
…
};
66
67
class
ResponseTruncatedError
:
public
BaseError
{
68
public
:
69
ResponseTruncatedError();
70
};
67
class
ResponseTruncatedError
:
public
BaseError
{
…
};
71
72
class
TransactionForceRollback
:
public
BaseError
{
73
public
:
74
TransactionForceRollback();
75
};
72
class
TransactionForceRollback
:
public
BaseError
{
…
};
76
77
class
IgnoreResultsError
:
public
BaseError
{
78
public
:
79
IgnoreResultsError(std::string err);
80
};
77
class
IgnoreResultsError
:
public
BaseError
{
…
};
81
82
}
// namespace ydb
83
84
USERVER_NAMESPACE_END
userver
ydb
exceptions.hpp
Generated on Wed Apr 30 2025 15:50:32 for userver by
Doxygen
1.13.2