Exception: Ori::CancellationError
- Inherits:
-
StandardError
- Object
- StandardError
- Ori::CancellationError
- Defined in:
- lib/ori.rb
Direct Known Subclasses
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
13 14 15 16 |
# File 'lib/ori.rb', line 13 def initialize(scope, = "Scope cancelled") @scope = scope super() end |
Instance Attribute Details
#scope ⇒ Object (readonly)
: Scope
10 11 12 |
# File 'lib/ori.rb', line 10 def scope @scope end |