You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
314 B

1 year ago
  1. #pragma once
  2. #include <exception>
  3. #include <fsdk/FSDKError.h>
  4. #include <fsdk/Def.h>
  5. namespace fsdk {
  6. struct FSDK_API Exception {
  7. explicit Exception(fsdk::FSDKError err) noexcept;
  8. const char* what() const noexcept;
  9. fsdk::FSDKError getError() const noexcept;
  10. private:
  11. fsdk::FSDKError m_error;
  12. };
  13. }