24 #include "openPMD/auxiliary/Export.hpp"
30 namespace openPMD::error
32 enum class AffectedObject
50 [[noreturn]] OPENPMDAPI_EXPORT
void
51 throwBackendConfigSchema(std::vector<std::string> jsonPath, std::string what);
53 [[noreturn]] OPENPMDAPI_EXPORT
void throwOperationUnsupportedInBackend(
54 std::string backend, std::string
const &what);
56 [[noreturn]] OPENPMDAPI_EXPORT
void throwReadError(
57 AffectedObject affectedObject,
59 std::optional<std::string> backend,
60 std::string description_in);
62 [[noreturn]] OPENPMDAPI_EXPORT
void
63 throwNoSuchAttribute(std::string attributeName);