unix_toolkit_error


Represents an error condition in Platform<ToolKit> for UNIX.

Library

Platform<ToolKit> for UNIX

Declaration

#include <ospace/unix/unix_ex.h>

class os_unix_toolkit_error : public os_toolkit_error

Interface

Constructor
os_unix_toolkit_error( long code , const char* description , long native )
Constructs an exception representing an error condition in Platform<ToolKit> for UNIX. The portable error code and description indicate the specific problem, and the native (default 0 ) value contains the platform-specific error code.
code
long code() const
Returns the portable error code.
description
/* static */ const char* description( long code )
Returns a character string of the description for the portable error code .
native
long native() const
Returns the platform-specific error code. In most cases, this value is the same as errno .
symbol
/* static */ const char* symbol( long code )
Returns a character string of the symbol for the portable error code .

Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only. - For use by licensed users only.