Refactor and document StoneError with enhanced features #1

Merged
Rene Nochebuena merged 3 commits from feature/stone-error-implementation into develop 2025-04-12 18:25:08 -06:00

3 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
b42137701b
Refactor and document StoneError with enhanced features
Some checks failed
Go CI/CD / go-ci (push) Failing after 5m34s
Go CI/CD / go-ci (pull_request) Failing after 5m29s
Updated module path and significantly extended the StoneError implementation with new functionality, including metadata handling, error wrapping, JSON serialization, and utilities like `IsStoneError`. Enhanced README with detailed examples, usage guidelines, and a thematic introduction.
2025-04-12 17:24:44 -06:00