$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [System]
From: Leo Carreon (lcarreon_at_[hidden])
Date: 2013-08-13 19:40:45
Hi Geoff,
If Iâm not mistaken, std:ystem_error was derived from Boost.
This being the case, you create an exception like this:
#include <system_error>
.
.
.
throw system_error(errno, system_category(), âwhatever messageâ);
AFAIK, you can also use generic_category() is you are dealing with POSIX error codes.
I hope this helps.
Regards,
Leo