lib/polyphony/extensions/fiber.rb
# call-seq:
#   fiber.raise(message) -> fiber
#   fiber.raise(exception_class) -> fiber
#   fiber.raise(exception_class, exception_message) -> fiber
#   fiber.raise(exception) -> fiber
#
# Raises an exception in the context of the fiber
#
# @return [Fiber] self


Raises an exception in the context of the fiber
Raises an exception in the context of the fiber
def raise(*args)
      error = error_from_raise_args(args)
      schedule(error)
      self
    end
def raise ( * args ) error = error_from_raise_args ( args ) schedule ( error ) self end
call-seq:
fiber.raise(message) -> fiber
fiber.raise(exception_class) -> fiber
fiber.raise(exception_class, exception_message) -> fiber
fiber.raise(exception) -> fiber
call - seq : fiber . raise ( message ) - > fiber fiber . raise ( exception_class ) - > fiber fiber . raise ( exception_class exception_message ) - > fiber fiber . raise ( exception ) - > fiber
None
Fiber
args
<not_specific>