rt-exception.inline.h 413 B

1234567891011121314151617
  1. #ifndef AFUN_RT_EXCEPTION_INLINE_H
  2. #define AFUN_RT_EXCEPTION_INLINE_H
  3. #include "rt-exception.h"
  4. namespace aFunrt {
  5. inline aFunrtException::aFunrtException(const std::string &msg) : aFunException{msg} {
  6. }
  7. inline readerFileOpenError::readerFileOpenError(const aFuntool::FilePath &file)
  8. : aFunrtException("Reader cannot open file: " + file) {
  9. }
  10. }
  11. #endif //AFUN_RT_EXCEPTION_INLINE_H