20#ifndef GEODE_EXCEPTION_H_
21#define GEODE_EXCEPTION_H_
25#include <unordered_map>
27#include "internal/functional.hpp"
28#include "internal/geode_globals.hpp"
39#pragma warning(disable : 4275)
45class APACHE_GEODE_EXPORT
Exception :
public std::exception {
47 explicit Exception(
const std::string& message);
48 explicit Exception(std::string&& message);
71 const
char* what() const noexcept override;
75 std::shared_ptr<StackTrace> stack_;
A description of an exception that occurred during a cache operation.
Definition: Exception.hpp:45
virtual std::string getName() const
Return the name of this exception type.
virtual std::string getStackTrace() const
Get a stacktrace string from the location the exception was created.
virtual const std::string & getMessage() const noexcept
Get a message with details regarding this exception.