2 Commits

Author SHA1 Message Date
bcb4a3008d
Add unwrap tests for normal and stone errors
All checks were successful
Go CI/CD / go-ci (push) Successful in 10m43s
Go CI/CD / go-ci (pull_request) Successful in 10m7s
Introduce tests to validate the behavior of the Unwrap function for both standard errors and StoneError instances. Ensure correct handling of wrapped errors and verify type identification with IsStoneError checks.
2025-04-12 17:53:48 -06:00
24ea252c96
Add unit tests for stoneerror package
All checks were successful
Go CI/CD / go-ci (pull_request) Successful in 10m37s
Go CI/CD / go-ci (push) Successful in 10m38s
Introduce comprehensive tests for core functionalities including error creation, metadata handling, wrapping, JSON conversion, and type validation. These tests ensure robustness and reliability of the stoneerror package.
2025-04-12 17:42:47 -06:00