HandleUpsertError

Helper method that constructs the error response for upsert of a partyIncome or partyExpense record.

Signature

call(String action, Map<String, Object> args

Return Value

Returns a list of errors encountered while upserting the record in the database.

Examples

Input and output JSON example of the action are as follows.

Input format:

Output format: