Skip to content

Commit

Permalink
Update errors.json
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler authored May 29, 2024
1 parent a1423ab commit c9ebba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"regex": "Lengths mismatch",
"description": "The length of the batchSessionParams you have passed while sending the tx does not match the length of the session leaves",
"causes": ["You cannot partially use a batch session tx", "You must use every leaf of a batchSession session while submitting the tx"],
"solutions": ["If you are using the getBatchSessionTxParams helper ensure you pass in the same number of indexes as there are txs", "Double check the second arg passed into getBatchSessionTxParams(...)", "Use a single session with multiple policy leaves instead of a batch session if you wish to use one leaf at a time."]
"solutions": ["If you are using the getBatchSessionTxParams helper ensure you pass in the same number of indexes as there are txs", "Double check the second arg passed into getBatchSessionTxParams(...)", "Use a single session with multiple policy leaves instead of a batch session if you wish to use one leaf at a time.", "If you are manually handling approvals in the batch session router Use the `skipPatchCallData` flag while building the userOp"]
},
{
"name": "SessionDestinationNotApprovedError",
Expand Down

0 comments on commit c9ebba9

Please sign in to comment.