Commit fe5ef09
committed
feat(hal/digest): add Display implementation for digest ErrorKind
- Implement core::fmt::Display for digest::ErrorKind enum
- Provide user-friendly error messages for digest operation errors
- Follow Rust conventions for error type Display formatting
- Enable better digest error reporting and library integration
Digest error messages are lowercase, human-readable descriptions
suitable for user-facing digest operation error reporting while
maintaining technical accuracy for cryptographic operations.1 parent 5ee18ed commit fe5ef09
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
447 | 465 | | |
448 | 466 | | |
449 | 467 | | |
| |||
0 commit comments