Skip to content

Parameterized Error

Pre-release
Pre-release
Compare
Choose a tag to compare
@rnapier rnapier released this 06 Jan 16:36
· 13 commits to master since this release

Result is no longer restricted to NSError. You can create a Result parameterized to any error type you like. This makes Result equivalent to Either with more obvious naming conventions (and the success case comes first in the type list).

This release is likely close to feature-complete on Result, and may eventually be considered the "production" version once others have played with it for a while.