ErrorRemove Function

Action

Removes the custom severity definition for a particular problem.

Include file

Kernel.bdh

Syntax

ErrorRemove( in Facility : number,
                 in nCode    : number );
Parameter Description
nFacility Specifies the module that can cause the problem for which you remove the severity definition.
nCode Error code of the problem for which you want to remove the severity definition. For a list of error codes, select Settings/Active Profile from the Silk Performer menu bar, select the Replay category, click the Simulation icon, switch to the Errors tab, and click Add. In the ensuing dialog, select the respective module from the Module drop-down list to see a list of error codes.

Example

dcltrans
  transaction TMain
  begin
    ErrorAdd(FACILITY_HTTP,401, SEVERITY_INFORMATIONAL);
    WebPageUrl("http://standardhost/","Home");
    ErrorRemove(FACILITY_HTTP,401);
  end TMain;