An exception for when an optional is accessed through specific methods while it is not engaged.
More...
#include <sol.hpp>
An exception for when an optional is accessed through specific methods while it is not engaged.
Definition at line 5227 of file sol.hpp.
◆ bad_optional_access()
sol::bad_optional_access::bad_optional_access |
( |
| ) |
|
|
default |
Default-constructs an optional exception.
◆ what()
const char* sol::bad_optional_access::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Returns a pointer to a null-terminated string containing the reason for the exception.
Definition at line 5232 of file sol.hpp.
The documentation for this class was generated from the following file: