Samchon Framework for CPP  1.0.0
ErrorEvent.cpp
1 #include <samchon/library/ErrorEvent.hpp>
2 
3 using namespace std;
4 using namespace samchon;
5 using namespace samchon::library;
6 
7 ErrorEvent::ErrorEvent(EventDispatcher *source, const string &message)
8  : Event(source, ErrorEvent::ERROR)
9 {
10  this->message = message;
11 }
12 auto ErrorEvent::getMessage() const -> std::string
13 {
14  return message;
15 }
std::string message
Error message.
Definition: ErrorEvent.hpp:36
Event representing an error.
Definition: ErrorEvent.hpp:19
Definition: RWMutex.hpp:4
Package of libraries.
Definition: library.hpp:84
Represent an event running on background.
Definition: Event.hpp:42
Abstract class for dispatching Event.
auto getMessage() const -> std::string
Get error-id.
Definition: ErrorEvent.cpp:12
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7