Exception: MonadOxide::UnwrapError
- Inherits:
-
MonadOxideError
- Object
- StandardError
- MonadOxideError
- MonadOxide::UnwrapError
- Defined in:
- lib/result.rb
Overview
This ‘Exception’ is raised when the consumer makes a dangerous wager about which state the ‘Result’ is in, and lost. More specifically: An ‘Ok’ cannot unwrap an Exception, and an ‘Err’ cannot unwrap the ‘Ok’ data.