EASIError()

The EASIError() intrinsic function allows the user to raise an error specifying both a numeric error code, and an error message which may be formatted using C-style format specifiers.

Example:

call EASIError( 700, "Invalid data" )
call EASIError( 701, "File %s is read-only", filename )
call EASIError( 702 )

In the last case where no message is specified, a default message will be produced.

The range of numeric error codes from 700-899 is reserved for user applications, and values in this range can be specified when using the EASIError() function to raise new application specific errors. Other standard error codes may also be used when the meaning is appropriate.

When an EASIError() command is executed, processing will continue in the same manner as if any error had occurred on the line containing the call to EASIError().

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.