Scroll to navigation

std::experimental::filesystem::filesystem_error(3cxx) std::experimental::filesystem::filesystem_error(3cxx)

NAME

std::experimental::filesystem::filesystem_error - Exception type thrown by the Filesystem TS library.

SYNOPSIS

#include <fs_path.h>

Inherits std::system_error.

Public Member Functions


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_code & code () const noexcept
const path & path1 () const noexcept
const path & path2 () const noexcept
const char * what () const noexcept

Detailed Description

Exception type thrown by the Filesystem TS library.

Definition at line 707 of file experimental/bits/fs_path.h.

Constructor & Destructor Documentation

std::experimental::filesystem::filesystem_error::filesystem_error (const string & __what_arg, error_code __ec) [inline]

Definition at line 710 of file experimental/bits/fs_path.h.

std::experimental::filesystem::filesystem_error::filesystem_error (const string & __what_arg, const path & __p1, error_code __ec) [inline]

Definition at line 713 of file experimental/bits/fs_path.h.

std::experimental::filesystem::filesystem_error::filesystem_error (const string & __what_arg, const path & __p1, const path & __p2, error_code __ec) [inline]

Definition at line 717 of file experimental/bits/fs_path.h.

Member Function Documentation

const error_code & std::system_error::code () const [inline], [noexcept], [inherited]

Definition at line 480 of file system_error.

const path & std::experimental::filesystem::filesystem_error::path1 () const [inline], [noexcept]

Definition at line 724 of file experimental/bits/fs_path.h.

const path & std::experimental::filesystem::filesystem_error::path2 () const [inline], [noexcept]

Definition at line 725 of file experimental/bits/fs_path.h.

const char * std::experimental::filesystem::filesystem_error::what () const [inline], [virtual], [noexcept]

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.

Definition at line 726 of file experimental/bits/fs_path.h.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str().

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Thu Feb 16 2023 libstdc++