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