mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 14:38:14 +02:00
49 lines
955 B
C++
49 lines
955 B
C++
#pragma once
|
|
#include <stdexcept>
|
|
|
|
namespace sls {
|
|
|
|
struct RuntimeError : public std::runtime_error {
|
|
public:
|
|
RuntimeError();
|
|
RuntimeError(const std::string &msg);
|
|
RuntimeError(const char *msg);
|
|
};
|
|
|
|
struct SharedMemoryError : public RuntimeError {
|
|
public:
|
|
SharedMemoryError(const std::string &msg);
|
|
};
|
|
|
|
struct SocketError : public RuntimeError {
|
|
public:
|
|
SocketError(const std::string &msg);
|
|
};
|
|
|
|
struct ZmqSocketError : public RuntimeError {
|
|
public:
|
|
ZmqSocketError(const std::string &msg);
|
|
};
|
|
|
|
struct NotImplementedError : public RuntimeError {
|
|
public:
|
|
NotImplementedError(const std::string &msg);
|
|
};
|
|
|
|
struct DetectorError : public RuntimeError {
|
|
public:
|
|
DetectorError(const std::string &msg);
|
|
};
|
|
|
|
struct ReceiverError : public RuntimeError {
|
|
public:
|
|
ReceiverError(const std::string &msg);
|
|
};
|
|
|
|
struct GuiError : public RuntimeError {
|
|
public:
|
|
GuiError(const std::string &msg);
|
|
};
|
|
|
|
} // namespace sls
|