CoreComponents 3.0.0
A Modern C++ Toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Modules
SystemError Class Reference

System call failed More...

#include <cc/SystemError>

Inheritance diagram for SystemError:

Public Member Functions

 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.
 

Protected Attributes

int errorCode_
 

Detailed Description

System call failed

Member Function Documentation

◆ errorCode()

int errorCode ( ) const

Error code return by a system call.

◆ message()

String message ( ) const
overridevirtual

Error code translated into a human readable error message.

Implements Exception.

Reimplemented in SystemResourceError.