3 #include "openPMD/ThrowError.hpp"
20 class Error :
public std::exception
26 Error(std::string what) : m_what(what)
30 virtual const char *what()
const noexcept;
38 virtual ~
Error() noexcept =
default;
54 std::string backend_in, std::string
const &what);
72 std::vector<std::string> errorLocation;
94 AffectedObject affectedObject;
97 std::optional<std::string> backend;
98 std::string description;
103 std::optional<std::string> backend_in,
104 std::string description_in);
Base class for all openPMD-specific error types.
Definition: Error.hpp:21
Internal errors that should not happen.
Definition: Error.hpp:83
Definition: Error.hpp:108
An operation was requested that is not supported in a specific backend.
Definition: Error.hpp:50
The API was used in an illegal way.
Definition: Error.hpp:64
Public definitions of openPMD-api.
Definition: Date.cpp:29