23
23
#define DRIZZLED_PLUGIN_ERROR_MESSAGE_H
25
25
#include "drizzled/plugin/plugin.h"
41
43
ErrorMessage(const ErrorMessage &);
42
44
ErrorMessage& operator=(const ErrorMessage &);
44
47
explicit ErrorMessage(std::string name_arg)
45
48
: Plugin(name_arg, "ErrorMessage")
47
50
virtual ~ErrorMessage() {}
52
54
static bool addPlugin(plugin::ErrorMessage *handler);
53
55
static void removePlugin(plugin::ErrorMessage *handler);
55
static bool vprintf(Session *session, int priority, char const *format,