Skip to content

Error handling improvements

Latest
Compare
Choose a tag to compare
@thiagokokada thiagokokada released this 12 Sep 09:56
· 3 commits to main since this release
fbd5013

This version brings multiple improvements to error handling.

There is a small breaking change though: hyprland.ValidationError is now hyprland.ErrorValidation, and it is not a custom error type anymore, instead being derived from errors.New. It means you can't cast to this error anymore, but now you can just use errors.Is or errors.As if you want to capture and treat this error in some special way.

What's Changed

Full Changelog: v0.2.0...v0.3.0