Exception: Ori::CancellationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ori.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message = "Scope cancelled")
  @scope = scope
  super(message)
end

Instance Attribute Details

#scopeObject (readonly)

: Scope



11
12
13
# File 'lib/ori.rb', line 11

def scope
  @scope
end