36 return E0Traits::isOk(e.m_first) && E1Traits::isOk(e.m_second);
38 static const char* toString(
ErrorType e) {
39 if(!E0Traits::isOk(e.m_first))
40 return E0Traits::toString(e.m_first);
41 return E1Traits::toString(e.m_second);
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
An error structure designed for functions which can return errors from different enum classes...
Definition: MultiError.h:17