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 28, 2024
1 parent aaf3269 commit a1423ab
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(...)"]
"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."]
},
{
"name": "SessionDestinationNotApprovedError",
Expand Down

0 comments on commit a1423ab

Please sign in to comment.