Astarte device API for C++ 0.7.1
Astarte device SDK for C++
Loading...
Searching...
No Matches
AstarteDeviceSdk::AstarteException Class Reference

Base exception class for the Astarte device library. More...

#include <exceptions.hpp>

+ Inheritance diagram for AstarteDeviceSdk::AstarteException:

Public Member Functions

 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.
 

Detailed Description

Base exception class for the Astarte device library.

Constructor & Destructor Documentation

◆ AstarteException()

AstarteDeviceSdk::AstarteException::AstarteException ( std::string_view message)
explicit

Constructor for the Astarte exception.

Parameters
messageThe exception message.

Member Function Documentation

◆ what()

auto AstarteDeviceSdk::AstarteException::what ( ) const -> const char *override
nodiscardoverridenoexcept

Implementation of the virtual method what from the partent std::exception class.

Returns
The exception message.

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