CoreComponents 3.0.0
A Modern C++ Toolkit
Loading...
Searching...
No Matches
SystemDebugError Class Reference

Debugging hint on system call failure. More...

#include <cc/SystemError>

Inheritance diagram for SystemDebugError:

Public Member Functions

 SystemDebugError (int errorCode, const char *source, int line)
 
const char * source () const
 File path to the source code which has thrown this exception
 
int line () const
 Line number within the source code.
 
String message () const override
 Generate error message for debug output.
 
- Public Member Functions inherited from SystemError
 SystemError (int errorCode)
 
int errorCode () const
 Error code return by a system call.
 
String message () const override
 Error code translated into a human readable error message.
 

Additional Inherited Members

- Protected Attributes inherited from SystemError
int errorCode_
 

Detailed Description

Debugging hint on system call failure.

See also
CC_SYSTEM_ERROR

Member Function Documentation

◆ source()

const char * source ( ) const

File path to the source code which has thrown this exception

◆ line()

int line ( ) const

Line number within the source code.

◆ message()

String message ( ) const
overridevirtual

Generate error message for debug output.

Implements Exception.