26 lines
467 B
C++
26 lines
467 B
C++
#include <psemek/io/error.hpp>
|
|
|
|
namespace psemek::io
|
|
{
|
|
|
|
char const * null_istream::what() const noexcept
|
|
{
|
|
return "Attempt to read from null input stream";
|
|
}
|
|
|
|
char const * null_ostream::what() const noexcept
|
|
{
|
|
return "Attempt to write to null output stream";
|
|
}
|
|
|
|
char const * istream_end::what() const noexcept
|
|
{
|
|
return "Unexpected input stream end";
|
|
}
|
|
|
|
char const * ostream_end::what() const noexcept
|
|
{
|
|
return "Unexpected output stream end";
|
|
}
|
|
|
|
}
|