Skip to content

TrapError - cBaseErrorHandler

Ensures that an error belongs to the set of trapped errors

Type: Procedure

Parameters

Parameter Type Description
iError Integer Error Number

Syntax

Procedure TrapError Integer iError

Call Example

Send TrapError iError

Description

Send TrapError to ensure that the passed error number belongs to the set of trapped errors.

Sample

Send TrapError to ghoErrorHandler 300