|
Astarte device API for C++ 0.7.1
Astarte device SDK for C++
|
Specific exception for when a file cannot be opened. More...
#include <exceptions.hpp>
Inheritance diagram for AstarteDeviceSdk::AstarteFileOpenException:Public Member Functions | |
| AstarteFileOpenException (std::string_view filename) | |
| Constructor for the Astarte file open exception. | |
| auto | get_filename () const -> const std::string & |
| Get the file name for the file which could not be opened. | |
Public Member Functions inherited from AstarteDeviceSdk::AstarteException | |
| AstarteException (std::string_view message) | |
| Constructor for the Astarte exception. | |
| auto | what () const noexcept -> const char *override |
| Implementation of the virtual method what from the partent std::exception class. | |
Specific exception for when a file cannot be opened.
|
explicit |
Constructor for the Astarte file open exception.
| filename | The file which could not be opened. |
|
nodiscard |
Get the file name for the file which could not be opened.