23 #include "openPMD/ThrowError.hpp"
40 class Error :
public std::exception
46 Error(std::string what) : m_what(what)
50 virtual const char *what()
const noexcept;
58 virtual ~
Error() noexcept =
default;
74 std::string backend_in, std::string
const &what);
92 std::vector<std::string> errorLocation;
114 AffectedObject affectedObject;
117 std::optional<std::string> backend;
118 std::string description;
123 std::optional<std::string> backend_in,
124 std::string description_in);
Base class for all openPMD-specific error types.
Definition: Error.hpp:41
Definition: Error.hpp:134
Internal errors that should not happen.
Definition: Error.hpp:103
Definition: Error.hpp:128
An operation was requested that is not supported in a specific backend.
Definition: Error.hpp:70
Definition: Error.hpp:112
The API was used in an illegal way.
Definition: Error.hpp:84
Public definitions of openPMD-api.
Definition: Date.cpp:29