Sign in Join
FPDoc Onlineexperiment

MediatorError procedure

In unit fpObserver

Raises formatted mediator error with context information

Declaration

pascal
procedure MediatorError(Sender: TObject; const Msg: string); overload

Arguments

Sender

Object causing the error for context

Msg

Error message to display

Description

The MediatorError procedure raises an EMediator exception with detailed context information. It formats the error message with information about the sender object, including mediator details, view component names, and subject information where available.

Multiple overloads support both direct message strings and format string with arguments.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.