sac-format 0.6.0 C++20 SAC (Seismic Analysis Code) File Library |
Class for generic I/O exceptions. More...
#include <sac_format.hpp>


Public Member Functions | |
| io_error (std::string msg) | |
| io_error Constructor | |
| const char * | what () const noexcept override |
| Error message delivery. | |
Private Attributes | |
| const std::string | message {} |
| Error message. | |
Class for generic I/O exceptions.
These errors occur due to bad path, bad permissions, or otherwise corrupt SAC-files.
I/O operations may raise other exceptions (disk failure, out of space, etc.), but those are difficult to emulate for testing purposes (therefore I am unable to reliably cover them); they also arise due to conditions that would render how sac-format handles them moot.
| inlineexplicit |
| private |
Error message.