Refactor accountExists function to include error handling and ensure consistent return values#554
Conversation
…consistent return values
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
…consistent return values
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
PR Type
bug_fix, enhancement
Description
accountExistsfunction to include a try-catch block for improved error handling.truewhen an error is caught, addressing potential issues with error responses.accountExistsfunction by handling exceptions properly.Changes walkthrough 📝
account.ts
Enhance error handling in `accountExists` functionpackages/rpc/src/methods/account.ts
accountExistsfunction.truein case ofexceptions.