blob: d51bd1689aad59cda20ff5c7b36174d3ad28908a [file] [log] [blame]
#include <stdplus/exception.hpp>
namespace stdplus
{
namespace exception
{
WouldBlock::WouldBlock(const char* what) :
std::system_error(std::make_error_code(std::errc::operation_would_block),
what)
{
}
WouldBlock::WouldBlock(const std::string& what) :
std::system_error(std::make_error_code(std::errc::operation_would_block),
what)
{
}
Eof::Eof(const char* what) :
std::system_error(std::make_error_code(std::errc::no_message_available),
what)
{
}
Eof::Eof(const std::string& what) :
std::system_error(std::make_error_code(std::errc::no_message_available),
what)
{
}
} // namespace exception
} // namespace stdplus