forked from Concordium/concordium-ledger-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(error-handling): improve error messages granularity
- Add specific status words for different error scenarios in key derivation and address verification - Split generic SW_VERIFY_ADDRESS_FAIL into more specific error codes: - SW_BLS_KEY_GEN_FAIL - SW_KEY_INIT_FAIL - SW_CREDENTIAL_ID_GEN_FAIL - SW_ADDRESS_ENCODING_FAIL - SW_DERIVATION_PATH_FAIL - Enhance error handling in get_bls_private_key and get_private_key_from_path - Update function documentation with detailed error codes - Remove redundant clang-format option This change improves debugging capabilities by providing more granular error feedback.
- Loading branch information
Showing
5 changed files
with
54 additions
and
22 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
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
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
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
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