Previous Topic
Table Of Contents
Parent Topic
Next Topic

The SWSERROR Function

Related Topics

Web Server API Function Index


May be used in Shadow/REXX
May be used from Other REXX Interpreters
High-level language interface available

SWSERROR is a built-in function used to retrieve information about the last error condition encountered by a Web Server API function. If no error condition has been encountered, the function returns a NULL string. Otherwise a description of the last error is returned.

SWSERROR Syntax

The SWSERROR function is coded without arguments.

The invocation format for SWSERROR is:


    string = SWSERROR( )

Return Values

After the call shown above completes, the variable, string, will be set to a NULL value if no error condition has been encountered. Otherwise it will contain a text-format description of the error.


Top