fthomas / fthomas/refined

Add special exception for RefinePartiallyApplied.force

Open
#101 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
1.7k
Forks
152
Avg merge
1h 20m
Merged PRs (30d)
6

Description

`RefinePartiallyApplied.force` currently throws an `IllegalArgumentException` if the argument does not conform to the predicate. We should probably introduce a special exception type (which can be a subtype of `IllegalArgumentException`) that also carries the result of `Validate.validate`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.