3 #include <fsdk/Types/Result.h>
13 template <
typename E0,
typename E1>
24 template <
typename E0,
typename E1>
31 return E0Traits::isOk(e.m_first) && E1Traits::isOk(e.m_second);
34 static const char* toString(
ErrorType e) {
35 if(!E0Traits::isOk(e.m_first))
36 return E0Traits::toString(e.m_first);
37 return E1Traits::toString(e.m_second);
41 template <
typename E0,
typename E1>
A structure that encapsulates an action result enumeration.
Definition: Result.h:27
An error structure designed for functions which can return errors from different enum classes...
Definition: MultiError.h:14