libstdc++
std::filesystem::filesystem_error Class Reference
Inheritance diagram for std::filesystem::filesystem_error:
[legend]

Public Member Functions

 filesystem_error (const filesystem_error &)=default
 
 filesystem_error (const string &__what_arg, const path &__p1, const path &__p2, error_code __ec)
 
 filesystem_error (const string &__what_arg, const path &__p1, error_code __ec)
 
 filesystem_error (const string &__what_arg, error_code __ec)
 
const error_codecode () const noexcept
 
filesystem_erroroperator= (const filesystem_error &)=default
 
const pathpath1 () const noexcept
 
const pathpath2 () const noexcept
 
const char * what () const noexcept
 

Detailed Description

Exception type thrown by the Filesystem library.

Definition at line 745 of file bits/fs_path.h.

Member Function Documentation

◆ what()

const char* std::filesystem::filesystem_error::what ( ) const
virtualnoexcept

Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).

Reimplemented from std::runtime_error.


The documentation for this class was generated from the following file: