Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >

Clib.perror() Method


This method prints and returns an error message that describes the error defined by Clib.errno.

Syntax

Clib.perror([errmsg])

Parameter
Description
errmsg
A message to describe an error condition

Returns

A string containing an error message that describes the error indicated by Clib.errno.

Usage

This method is identical to calling Clib.strerror(Clib.errno). If a string variable is supplied, it is set to the string returned.


 Siebel eScript Language Reference 
 Published: 18 April 2003