MXVK Vulkan Framework
0.35.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
mxvk_exception.hpp
Go to the documentation of this file.
1
#ifndef MXVK_EXCEPTION_HPP
2
#define MXVK_EXCEPTION_HPP
3
4
#include <stdexcept>
5
#include <string>
6
7
namespace
mxvk
{
8
class
Exception
:
public
std::runtime_error {
9
public
:
10
explicit
Exception
(
const
std::string &
text
) : std::runtime_error(
text
) {}
11
std::string
text
()
const
{
return
what(); }
12
};
13
}
// namespace mxvk
14
15
#endif
mxvk::Exception::text
std::string text() const
Definition
mxvk_exception.hpp:11
mxvk::Exception::Exception
Exception(const std::string &text)
Definition
mxvk_exception.hpp:10
mxvk
Utilities for loading and saving PNG images.
Definition
mxvk.hpp:31
mxvk
include
mxvk
mxvk_exception.hpp
Generated by
1.18.0