3 #include "openPMD/ThrowError.hpp" 11 #if defined(OPENPMD_ADIOS1_IMPLEMENTATION) 12 static_assert(
false,
"ADIOS1 implementation must not include Error.hpp");
24 class Error :
public std::exception
30 Error(std::string what) : m_what(what)
34 virtual const char *what()
const noexcept;
42 virtual ~
Error() noexcept =
default;
75 std::vector<std::string> errorLocation;
97 AffectedObject affectedObject;
100 std::optional<std::string> backend;
101 std::string description;
106 std::optional<std::string> backend_in,
107 std::string description_in);
Internal errors that should not happen.
Definition: Error.hpp:85
Definition: Error.hpp:110
An operation was requested that is not supported in a specific backend.
Definition: Error.hpp:53
Public definitions of openPMD-api.
The API was used in an illegal way.
Definition: Error.hpp:66
Base class for all openPMD-specific error types.
Definition: Error.hpp:24