|
LiteFX 0.4.1.2025
Computer Graphics Engine
|
An exception that is thrown, if a provided non-optional argument was not initialized. More...
#include <exceptions.hpp>
Inherits LiteFX::Exception.
Public Member Functions | |
| ArgumentNotInitializedException (std::string_view argument) | |
| Initializes a new exception. | |
| ArgumentNotInitializedException (std::string_view argument, std::string_view message) | |
| Initializes a new exception. | |
| template<typename ... TArgs> | |
| ArgumentNotInitializedException (std::string_view argument, std::format_string< TArgs... > format, TArgs &&... args) | |
| Initializes a new exception. | |
| ArgumentNotInitializedException (const ArgumentNotInitializedException &)=default | |
| ArgumentNotInitializedException (ArgumentNotInitializedException &&) noexcept=default | |
| ~ArgumentNotInitializedException () noexcept override=default | |
| ArgumentNotInitializedException & | operator= (const ArgumentNotInitializedException &)=default |
| ArgumentNotInitializedException & | operator= (ArgumentNotInitializedException &&) noexcept=default |
| const std::string & | argument () const noexcept |
| Gets the name of the argument that was not initialized. | |
Public Member Functions inherited from LiteFX::Exception | |
| Exception (const Exception &)=default | |
| Exception (Exception &&) noexcept=default | |
| ~Exception () noexcept override=default | |
| Exception & | operator= (const Exception &)=default |
| Exception & | operator= (Exception &&) noexcept=default |
| const std::source_location & | location () const noexcept |
| Gets the source location that identifies where the exception has been thrown. | |
| const std::stacktrace & | trace () const noexcept |
| Gets the stack trace leading to the exception. | |
Additional Inherited Members | |
Protected Member Functions inherited from LiteFX::Exception | |
| Exception (const std::string &message, const std::source_location &location, std::stacktrace trace) | |
| Initializes the exception. | |
An exception that is thrown, if a provided non-optional argument was not initialized.
|
inlineexplicit |
Initializes a new exception.
| argument | The name of the argument that was not initialized. |
|
inlineexplicit |
Initializes a new exception.
| argument | The name of the argument that was not initialized. |
| message | The error message. |
|
inlineexplicit |
Initializes a new exception.
| argument | The name of the argument that was not initialized. |
| format | The format string for the error message. |
| args | The arguments passed to the error message format string. |
|
default |
|
defaultnoexcept |
|
overridedefaultnoexcept |
|
inlinenoexcept |
Gets the name of the argument that was not initialized.
|
defaultnoexcept |
|
default |