3#include <ydb-cpp-sdk/client/types/status/status.h> 
   13USERVER_NAMESPACE_BEGIN
 
   17class BaseError : 
public std::runtime_error {
 
   18  using std::runtime_error::runtime_error;
 
   23  explicit YdbResponseError(std::string_view operation_name,
 
   24                            NYdb::TStatus&& status);
 
   26  const NYdb::TStatus& GetStatus() 
const noexcept;
 
   29  NYdb::TStatus status_;
 
   34  explicit UndefinedDatabaseError(std::string error);
 
   39  explicit EmptyResponseError(std::string_view expected);
 
   44  explicit ParseError(std::string error);
 
   49  ColumnParseError(std::string_view column_name, std::string_view message);
 
   54  TypeMismatchError(std::string_view name, std::string_view expected,
 
   55                    std::string_view actual);
 
   60  explicit DeadlineExceededError(std::string msg);
 
   65  InvalidTransactionError();
 
   70  OperationCancelledError();
 
   75  ResponseTruncatedError();
 
   80  TransactionForceRollback();
 
   85  IgnoreResultsError(std::string err);