3#include "../core/string.hpp"
18 unreadable(
const zpath &filename) : std::runtime_error((
"Unable to open "_zs + filename +
" for reading.").cstring()) {}
31 unwritable(
const zpath &filename) : std::runtime_error((
"Unable to open "_zs + filename +
" for writing.").cstring()) {}
Exception thrown when a file cannot be opened for reading.
Definition exceptions.hpp:12
unreadable(const zpath &filename)
Constructor.
Definition exceptions.hpp:18
Exception thrown when a file cannot be opened for writing.
Definition exceptions.hpp:25
unwritable(const zpath &filename)
Constructor.
Definition exceptions.hpp:31