DatabaseModifiedError indicates a database was modified.
More...
#include <error.h>
|
| | DatabaseModifiedError (std::string_view msg_, std::string_view context_, const char *error_string_) |
| | Private constructor for use by remote backend. More...
|
| |
| | DatabaseModifiedError (std::string_view msg_, std::string_view context_, const char *type_, const char *error_string_) |
| | Constructor for use by constructors of derived classes. More...
|
| |
| | DatabaseModifiedError (std::string_view msg_, std::string_view context_, const char *type_, int errno_) |
| | Constructor for use by constructors of derived classes. More...
|
| |
DatabaseModifiedError indicates a database was modified.
To recover after catching this error, you need to call Xapian::Database::reopen() on the Database and repeat the operation which failed.
Definition at line 527 of file error.h.
◆ DatabaseModifiedError() [1/5]
| Xapian::DatabaseModifiedError::DatabaseModifiedError |
( |
std::string_view |
msg_, |
|
|
std::string_view |
context_, |
|
|
const char * |
error_string_ |
|
) |
| |
|
inlineprivate |
Private constructor for use by remote backend.
- Parameters
-
| error_string_ | Optional string describing error. May be NULL. |
Definition at line 534 of file error.h.
◆ DatabaseModifiedError() [2/5]
| Xapian::DatabaseModifiedError::DatabaseModifiedError |
( |
std::string_view |
msg_, |
|
|
std::string_view |
context_ = {}, |
|
|
int |
errno_ = 0 |
|
) |
| |
|
inlineexplicit |
General purpose constructor.
- Parameters
-
| msg_ | Message giving details of the error, intended for human consumption. |
| context_ | Optional context information for this error. |
| errno_ | Optional errno value associated with this error. |
Definition at line 543 of file error.h.
◆ DatabaseModifiedError() [3/5]
| Xapian::DatabaseModifiedError::DatabaseModifiedError |
( |
std::string_view |
msg_, |
|
|
int |
errno_ |
|
) |
| |
|
inline |
Construct from message and errno value.
- Parameters
-
| msg_ | Message giving details of the error, intended for human consumption. |
| errno_ | Optional errno value associated with this error. |
Definition at line 551 of file error.h.
◆ DatabaseModifiedError() [4/5]
| Xapian::DatabaseModifiedError::DatabaseModifiedError |
( |
std::string_view |
msg_, |
|
|
std::string_view |
context_, |
|
|
const char * |
type_, |
|
|
const char * |
error_string_ |
|
) |
| |
|
inlineprivate |
Constructor for use by constructors of derived classes.
Definition at line 557 of file error.h.
◆ DatabaseModifiedError() [5/5]
| Xapian::DatabaseModifiedError::DatabaseModifiedError |
( |
std::string_view |
msg_, |
|
|
std::string_view |
context_, |
|
|
const char * |
type_, |
|
|
int |
errno_ |
|
) |
| |
|
inlineprivate |
Constructor for use by constructors of derived classes.
Definition at line 563 of file error.h.
The documentation for this class was generated from the following file: