class Opted::Result::UnwrapError

Error raised from calling {Err#unwrap!} or {Ok#unwrap_err!}

Public Class Methods

new(method, caller) click to toggle source
Calls superclass method
# File lib/opted/result.rb, line 10
def initialize(method, caller)
  super("Called ##{method} on #{caller}")
end