Error::Sys( const char *, const char * )
Add a system error to an Error
.
Virtual? |
No |
|
Class |
||
Arguments |
|
the system call that was attempted |
|
relevant information about that call |
|
Returns |
|
Notes
To use an Error
object to track errors generated by system
calls such as file operations, use Sys()
.
Example
The following example adds an error message, related to a failure to
rename a file, to an Error
object.
e.Sys( "rename", targetFile->Name() );