arrow-exact
arrow-exact copied to clipboard
Change error handling for Exact
The change is a follow-up of this message https://github.com/arrow-kt/arrow-exact/pull/25#issuecomment-1596545009
- Added
ensure(condition: Boolean, lazyMessage: () -> String)
function - Renamed
ExactError
toErrorMessage
- Replaced most of the examples in doc to
by Exact({})
instead of inheritance