rt_error_message.inline.h 689 B

12345678910111213141516171819202122232425
  1. #ifndef AFUN_RT_ERROR_MESSAGE_INLINE_H
  2. #define AFUN_RT_ERROR_MESSAGE_INLINE_H
  3. #include "rt_error_message.h"
  4. namespace aFunrt {
  5. ErrorMessage::ErrorMessage(ErrorMessage &&msg) noexcept
  6. : inter{msg.inter}, error_type{std::move(msg.error_type)},
  7. error_info{std::move(msg.error_info)}, trackback{std::move(msg.trackback)}{
  8. }
  9. std::string ErrorMessage::getErrorType() const {
  10. return error_type;
  11. }
  12. std::string ErrorMessage::getErrorInfo() const {
  13. return error_info;
  14. }
  15. const std::list<ErrorMessage::TrackBack> &ErrorMessage::getTrackBack() const {
  16. return trackback;
  17. }
  18. }
  19. #endif //AFUN_RT_ERROR_MESSAGE_INLINE_H