Skip to content

Inscoper::ErrorListener

ErrorListener class allows receiving errors. More...

#include <ErrorListener.h>

Public Functions

Name
virtual ~ErrorListener()
Virtual destructor.
virtual void handleError(short errorCode, const std::string & error) =0
Handle error notification.

Detailed Description

class Inscoper::ErrorListener;

ErrorListener class allows receiving errors.

This abstract class provides a callback mechanism for handling errors.

Public Functions Documentation

function ~ErrorListener

inline virtual ~ErrorListener()

Virtual destructor.

function handleError

virtual void handleError(
    short errorCode,
    const std::string & error
) =0

Handle error notification.

Parameters:

  • errorCode : The error code
  • error : The error message

This callback method is invoked each time an error occurs. Must be overridden.


Updated on 2026-09-03 at 12:14:17 +0200