Shiboken::Errors::Stash Class
class Shiboken::Errors::StashTemporarily stashes an error set in Python. More...
| Header: | #include <sbkerrors.h> |
Public Functions
| Stash(const Shiboken::Errors::Stash &) | |
| Stash(Shiboken::Errors::Stash &&) | |
| void | release() |
| void | restore() |
| Shiboken::Errors::Stash & | operator=(Shiboken::Errors::Stash &&) |
| Shiboken::Errors::Stash & | operator=(const Shiboken::Errors::Stash &) |
Detailed Description
Member Function Documentation
[delete] Stash::Stash(const Shiboken::Errors::Stash &)
Copy-constructs an instance of Stash. This function is deleted.
[delete] Stash::Stash(Shiboken::Errors::Stash &&)
Move-constructs an instance of Stash. This function is deleted.
void Stash::release()
Discards the stored error.
void Stash::restore()
Restores the stored error.
[delete] Shiboken::Errors::Stash &Stash::operator=(Shiboken::Errors::Stash &&)
Move-assigns other to this Stash instance. This function is deleted.
[delete] Shiboken::Errors::Stash &Stash::operator=(const Shiboken::Errors::Stash &)
Copy-assigns other to this Stash instance. This function is deleted.