18 return (
"stop-retry-exit");
20 return (
"serve-retry-exit");
22 return (
"serve-retry-continue");
24 return (
"invalid-action-type");
29 if (text ==
"stop-retry-exit") {
31 }
else if (text ==
"serve-retry-exit") {
33 }
else if (text ==
"serve-retry-continue") {
A generic exception that is thrown if a parameter given to a method is considered invalid in that con...
static std::string onFailActionToText(OnFailAction action)
Convert action to string.
static OnFailAction onFailActionFromText(const std::string &text)
Convert string to action.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
OnFailAction
Type of action to take on connection loss.
Defines the logger used by the top-level component of kea-lfc.