blob: 34114c7adc80b4db2a9d81f52926ef146410e45f [file] [log] [blame]
#ifndef BASYX_ENUM_ERROR_H
#define BASYX_ENUM_ERROR_H
#include <string>
namespace basyx {
namespace detail {
enum class error {
None,
PropertyNotFound,
IndexOutOfBounds,
NotInvokable,
ObjectAlreadyExists,
MalformedRequest,
ProviderException,
};
class error_
{
public:
static error from_string(const std::string & name);
static const char * to_string(error value);
};
}
}
#endif