24#include "openPMD/auxiliary/Export.hpp"
30namespace openPMD::error
32enum class AffectedObject
50[[noreturn]] OPENPMDAPI_EXPORT
void
51throwBackendConfigSchema(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
63throwNoSuchAttribute(std::string attributeName);