Siebel eScript Language Reference > C Language Library Reference > Clib Error Methods >

Clib Error Number Property


The Clib Error Number property stores an error number if a method fails to run correctly. Many methods in the Clib and Siebel library objects set errno to a nonzero value when an error occurs. Siebel eScript implements errno as a macro to the internal function errno. For more information, see Siebel Library Methods.

Format

Clib.errno

Usage

To return the error number stored in the Clib.errno property, you use the following ToNumber conversion method:

ToNumber(Clib.errno)

For more information, see Convert Value to Number Method.

You cannot use Siebel eScript code to modify the errno property. It is available only for read-only access.

You can configure Siebel CRM to reference the error message that is associated with a Clib error number. For more information, see Clib Get Error Message Method.

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.