Skip to main content

Usage

Available on the Para client in @getpara/web-sdk, @getpara/react-sdk, @getpara/react-sdk-lite, @getpara/server-sdk and @getpara/react-native-wallet, through @getpara/core-sdk.
Signature
An unknown policy, or one with no saved values for the user, returns an empty revisions list.

Access and Portal behavior

Signed-in user, for their own values. Does not open Portal.

Errors

A failed request rejects with an error that carries status, code and message. A few refusals have their own code, such as POLICY_DENIED, INITIATOR_CANNOT_REVIEW and APPROVAL_CASES_AFFECTED. Most arrive as plain text, with code set to ERR_BAD_REQUEST for a 4xx status and the server message in message, so branch on message for those. Rows marked Client throw a plain Error with only a message, before any request is sent, so call the method inside try with await to catch every error. Permissions errors lists every error.