xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.

◆ error()

virtual std::error_code xtd::system_exception::error ( ) const
inlinevirtualnoexceptinherited

Get error associate to the exception.

Returns
An error_code represent a Error associate to the exception