16 lines
274 B
C++
16 lines
274 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";
|
|
}
|
|
|
|
}
|