Lines Matching refs:ErrorInfoBase
24 class ErrorInfoBase : public RTTIExtends<ErrorInfoBase, RTTIRoot> {
35 friend Error repackage_error(std::unique_ptr<ErrorInfoBase>);
93 Error(std::unique_ptr<ErrorInfoBase> ErrInfo) { in Error()
106 template <typename ErrT = ErrorInfoBase> ErrT *getPtr() const { in getPtr()
110 void setPtr(ErrorInfoBase *Ptr) { in setPtr()
118 template <typename ErrT = ErrorInfoBase> std::unique_ptr<ErrT> takePayload() { in takePayload()
119 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in takePayload()
132 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in make_error()
140 inline Error repackage_error(std::unique_ptr<ErrorInfoBase> EIB) { in repackage_error()
158 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in error_cast()
191 using error_type = std::unique_ptr<ErrorInfoBase>;
381 (void)error_cast<ErrorInfoBase>(Err); in consumeError()
410 if (auto EIB = error_cast<ErrorInfoBase>(Err)) in toString()
415 class StringError : public RTTIExtends<StringError, ErrorInfoBase> {