SODEBUGERROR(3iv)
β¨ NAME β¨
okay so bestie, meet SoDebugError β debug error handling. This is the SoDebugError(3IV) manual page, and she's literally the main character of debugging errors in Inventor. π
πΈ INHERITS FROM πΈ
SoError > SoDebugError
π SYNOPSIS π
#include <Inventor/errors/SoDebugError.h>
enum Severity {
SoDebugError::ERROR Error
SoDebugError::WARNING Just a warning
SoDebugError::INFO No error, just information
}
Methods from class SoDebugError:
static void setHandlerCallback(SoErrorCB *cb, void *data)
static SoErrorCB * getHandlerCallback()
static void * getHandlerData()
static SoType getClassTypeId()
SoDebugError::Severity getSeverity() const
Methods from class SoError:
const SbString & getDebugString() const
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
π¦ DESCRIPTION π¦
SoDebugError is the class that handles all errors reported from the debugging version of the Inventor library. These errors are typically programmer errors, like passing a NULL pointer or an out-of-range index. The post() method takes the name of the Inventor method that detected the error, to help the programmer debug it.
not me being a whole error class whose entire job is catching programmer oopsies π she's giving "your code is not passing the vibe check" energy.
π METHODS π
static void setHandlerCallback(SoErrorCB *cb, void *data)static SoErrorCB * getHandlerCallback()static void * getHandlerData()
Sets or returns the handler callback for the SoDebugError class.
static SoType getClassTypeId()β Returns the type identifier for theSoDebugErrorclass.SoDebugError::Severity getSeverity() constβ Returns the severity of the error, for use by handlers.
π₯ SEE ALSO π₯
SoMemoryError, SoReadError
π«Ά that's the whole page. source/version: SoDebugError(3IV)(); date: not shown in the footer (empty parentheses energy), so we move. bye bestie! π
β¨
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms