Asserts object runtime class¶
SS_ASSERT_CLASS
is a macro defined in sserr.h.
Synopsis:
-
SS_ASSERT_CLASS
(_obj_, _cls_)¶
Description: The first argument should be an object of the specified class, valid at runtime. If it isn’t then a TYPE
error is raised. The _cls_
argument should be a C class datatype like ss_pers_t
.
See Also:
- Error Handling: Introduction for current chapter