Raises formatted mediator error with context information
Source position: fpobserver.pp line 386
procedure MediatorError( |
Sender: TObject; |
const Msg: string |
); overload; |
Sender: TObject; |
const Fmt: string; |
Args: array of Const |
); overload; |
Sender |
|
Object causing the error for context |
Msg |
|
Error message to display |
Sender |
|
Object causing the error for context |
Fmt |
|
Format string for the error message |
Args |
|
Arguments for the format string |
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.
|
Exception class for mediator-related errors |