Exception: Kobako::BlockError

Inherits:
Error
  • Object
show all
Includes:
Diagnosable
Defined in:
lib/kobako/errors.rb,
sig/kobako/errors.rbs

Overview

Raised at a Service method's yield site when the guest block it yielded to raised. A Service rescues it the way it would rescue a block's exception without a Sandbox between the two frames; leaving it unrescued returns it to the guest, which re-raises the exception it raised in the first place. It therefore never reaches the Host App as an invocation outcome and carries no Execution. klass names the guest-side class, which has no host counterpart to rebuild.

Instance Attribute Summary

Attributes included from Diagnosable

#backtrace_lines, #klass, #origin

Method Summary

Methods included from Diagnosable

#initialize