Table of Contents

Interface IUnhandledExceptionHandler

Namespace
SampSharp.Entities
Assembly
SampSharp.OpenMp.Entities.dll

Provides a handler for logging unhandled exceptions that occur during runtime.

public interface IUnhandledExceptionHandler

Methods

Handle(string, Exception)

Handles the specified exception within the given context.

void Handle(string context, Exception exception)

Parameters

context string

A string that describes the context in which the exception occurred. This information can be used to provide additional details for error handling or logging.

exception Exception

The exception to be handled. Cannot be null.