Exception: Ori::CancellationError
- Inherits:
-
StandardError
- Object
- StandardError
- Ori::CancellationError
- Defined in:
- lib/ori.rb
Instance Attribute Summary collapse
-
#scope ⇒ Object
readonly
: Scope.
Instance Method Summary collapse
-
#initialize(scope, message = "Scope cancelled") ⇒ CancellationError
constructor
: (Scope scope, ?String? message) -> void.
Constructor Details
#initialize(scope, message = "Scope cancelled") ⇒ CancellationError
: (Scope scope, ?String? message) -> void
14 15 16 17 |
# File 'lib/ori.rb', line 14 def initialize(scope, = "Scope cancelled") @scope = scope super() end |
Instance Attribute Details
#scope ⇒ Object (readonly)
: Scope
11 12 13 |
# File 'lib/ori.rb', line 11 def scope @scope end |