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 the SoDebugError class.
  • 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! πŸ’…βœ¨