Library of Assembled Shared Sources
|
C++ exception type that holds a Python exception. More...
#include <exception.h>
Related Symbols | |
(Note that these are not member symbols.) | |
#define | LASS_THROW_EX(t_exception, s_message) |
To throw an exception like util::Exception that accepts a message and a location string, you can supply those strings yourself, ore you can use this macro for your convenience. | |
C++ exception type that holds a Python exception.
This class is used to propagate Python exceptions through C++ code. Can be used to both
Definition at line 76 of file python/exception.h.
|
To throw an exception like util::Exception that accepts a message and a location string, you can supply those strings yourself, ore you can use this macro for your convenience.
This macro will fill in the location by itself so that you only have to worry about the message.
And as an extra, the message is streamed, so you can use the regular operator<<
to concatenate variables in the message.
Definition at line 202 of file basic_ops.h.