Appwrite C++ SDK
Auto-generated API documentation for the Appwrite C++ SDK
Loading...
Searching...
No Matches
AppwriteException.hpp
Go to the documentation of this file.
1
/// @file AppwriteException.hpp
2
/// @brief Declares the base exception class used to represent Appwrite SDK
3
/// errors.
4
#ifndef APPWRITEEXCEPTION_HPP
5
#define APPWRITEEXCEPTION_HPP
6
7
#include <exception>
8
#include <string>
9
10
class
AppwriteException
:
public
std::exception {
11
public
:
12
explicit
AppwriteException
(
const
std::string &message) : message(message) {}
13
const
char
*
what
() const noexcept
override
{
return
message.c_str(); }
14
15
private
:
16
std::string message;
17
};
18
19
#endif
AppwriteException
Definition
AppwriteException.hpp:10
AppwriteException::what
const char * what() const noexcept override
Definition
AppwriteException.hpp:13
AppwriteException::AppwriteException
AppwriteException(const std::string &message)
Definition
AppwriteException.hpp:12
exceptions
AppwriteException.hpp
Generated by
1.9.8