-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(transaction.ts): improve error handling and documentation fo…
…r transaction methods - Refactor send() method to throw an error when transaction submission fails, providing more explicit error handling. - Update send() method documentation to reflect changes and provide better usage examples. - Refactor safeSend() method to return a RejectedTransaction when internal errors are detected, providing more detailed feedback. - Update safeSend() method documentation to reflect changes and provide better usage examples. - Update wait() method usage examples in IncludedTransaction and RejectedTransaction to demonstrate error handling.
- Loading branch information
1 parent
e2300a4
commit 8d1554f
Showing
1 changed file
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters