onFailure


Purpose

Indicates that a request referring to a field was not processed.

Signature

onFailure( error )

Returns

This method does not return anything.

Parameters

Name Description Type Use
error An object containing two fields: code (a numeric value associated with an error) and description (the type of failure). Possible failure types are listed in the Constants table, in the AccountManager article). object required

Related topics

Public API reference
addAccount
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...