Internet Direct (Indy) Version 9.0.1 Beta
TIdIRCServer.OnCommandError
Event handler for the IRC ERROR command.

property OnCommandError: TIdIrcOneParmEvent;
Description
OnCommandError is a TIdIrcOneParmEventevent handler that allows the server to respond to the IRC ERROR command. ERROR is used to report a serious or fatal server error to IRC Operators. ERROR may also send the error message from one server to another server, but must not be accepted from an unknown client.

An ERROR message is used to report errors which occur on the server-to-server link only. An ERROR message is sent to a server at the connection endpoint and all operators currently connected. It is not to be passed onto any other servers by a server if it is received from a server. When a server sends a received ERROR message to operators, the message should be encapsulated in a NOTICE message, indicating that the client was not responsible for the error.