LiteFX::Rendering::Backends::VulkanPlatformException::VulkanPlatformException¶
Initializes a new exception.
Synopses¶
Declared in <litefx/backends/vulkan_api.hpp>
Copy constructor
[[dllimport, dllexport]] constexpr VulkanPlatformException(VulkanPlatformException const& other) = default;
Move constructor
[[dllimport, dllexport]] constexpr VulkanPlatformException(VulkanPlatformException&& other) noexcept = default;
Initializes a new exception.
[[dllimport, dllexport]] explicit VulkanPlatformException(VkResult result);
Initializes a new exception.
[[dllimport, dllexport]] explicit VulkanPlatformException(
VkResult result,
StringView message);
Initializes a new exception.
template<typename... TArgs>
explicit VulkanPlatformException(
VkResult result,
StringView format,
TArgs&&... args);
Parameters¶
| Name | Description |
|---|---|
| result | The error code returned by the operation. |
| message | The error message. |
| format | The format string for the error message. |
| args | The arguments passed to the error message format string. |