Update the SDK to be compliant with the v0.5.0 spec. ## What's Changed ### ⚠ BREAKING CHANGES - [x] https://github.com/open-feature/spec/pull/142 Error codes must be a constrained set of values (e.g. enum). #72 ### Additional changes - [x] https://github.com/open-feature/spec/pull/140 Clarify that `reason` must be a string in the `flag resolution details` and `evaluation details`. - [x] https://github.com/open-feature/spec/pull/142 Add optional `error message` to `flag resolution details`. #72 ## General - [x] Add/update a spec version badge on the readme. #74 [](https://github.com/open-feature/spec/tree/v0.5.0) **Full Changelog**: https://github.com/open-feature/spec/compare/v0.4.0...v0.5.0
Update the SDK to be compliant with the v0.5.0 spec.
What's Changed
⚠ BREAKING CHANGES
Additional changes
reasonmust be a string in theflag resolution detailsandevaluation details.error messagetoflag resolution details. feat!: ErrorType as enum, add ErrorMessage string #72General
Full Changelog: open-feature/spec@v0.4.0...v0.5.0