5#ifndef ASTARTE_DEVICE_SDK_EXCEPTIONS_H
6#define ASTARTE_DEVICE_SDK_EXCEPTIONS_H
32 [[nodiscard]]
auto what() const noexcept -> const
char* override;
55 std::
string filename_;
AstarteException(std::string 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.
auto get_filename() const -> const std::string &
Get the file name for the file which could not be opened.
AstarteFileOpenException(const std::string &filename)
Constructor for the Astarte file open exception.
AstarteInternalException(const std::string &err_message)
Constructor for the Astarte internal exception.
Umbrella namespace for the Astarte device SDK.
Definition data.hpp:25