Exception.hpp 595 B

123456789101112131415161718192021222324252627
  1. ///
  2. /// \file Remote/Exception.hpp
  3. ///
  4. /// Exceptions thrown by the Remote methods.
  5. ///
  6. /// \copyright
  7. /// Copyright (c) 2013-2014 Josh Blum
  8. /// SPDX-License-Identifier: BSL-1.0
  9. ///
  10. #pragma once
  11. #include <Pothos/Config.hpp>
  12. #include <Pothos/Exception.hpp>
  13. namespace Pothos {
  14. /*!
  15. * A RemoteClientError is thrown when a the server connect fails.
  16. */
  17. POTHOS_DECLARE_EXCEPTION(POTHOS_API, RemoteClientError, RuntimeException)
  18. /*!
  19. * A RemoteServerError is thrown when a the server spawn fails.
  20. */
  21. POTHOS_DECLARE_EXCEPTION(POTHOS_API, RemoteServerError, RuntimeException)
  22. } //namespace Pothos