Previous Topic: PrintDebugTrace Method—Outputs Trace Information to Console

Next Topic: SetTraceCallback Method—Registers Subroutine that Processes Trace Messages

SetErrorCallback Method—Registers Subroutine that Processes Error Messages

The SetErrorCallback method registers a user-defined Perl subroutine that processes SiteMinder error messages. If multiple subroutines are registered, SiteMinder calls the most recently registered subroutine.

Syntax

The SetErrorCallback method has the following format:

Netegrity::AgentAPI‑>SetErrorCallback(subref)

Parameters

The SetErrorCallback method accepts the following parameter:

subref (string)

Specifies the name of the Perl subroutine or a reference to the subroutine:

Return Value

The SetErrorCallback method returns one of the following integer values:


Copyright © 2010 CA. All rights reserved. Email CA about this topic