Bitrix Site Manager

CAdminException::AddMessage

void
CAdminException::AddMessage(
  array $arMessage
)

The method AddMessage adds a message to the list of errors registered in the class instance.

The messages are specified in the format: array("id"=>"Error identifier", "text" => "Error text").