Skip to content

Commit

Permalink
Update docs/architecture/adr-11-refactor-errors.md
Browse files Browse the repository at this point in the history
Co-authored-by: Farhad Shabani <Farhad.Shabani@gmail.com>
Signed-off-by: Sean Chen <seanchen11235@gmail.com>
  • Loading branch information
seanchen1991 and Farhad-Shabani committed Sep 20, 2024
1 parent 6c03deb commit 89b9124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/architecture/adr-11-refactor-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ prefer something more bespoke and tailored to their particular needs.

Most of the new error variants introduced also require `String` allocations, which is ideal;
this is a tradeoff between generality of error variants and specificity. Introducing more
specific error variants would help cut down on the number of String allocations, but would
specific error variants would help cut down on the number of `String` allocations, but would
contribute to bloating and redundancy within ibc-rs's error types.

Lastly, the new error types and variants do not come with guard rails to help steer
Expand Down

0 comments on commit 89b9124

Please sign in to comment.