Exception: IgniterLang::TemporalAccessRuntime::CapabilityError
- Inherits:
-
StandardError
- Object
- StandardError
- IgniterLang::TemporalAccessRuntime::CapabilityError
- Defined in:
- lib/igniter_lang/temporal_access_runtime.rb
Instance Attribute Summary collapse
-
#capability ⇒ Object
readonly
Returns the value of attribute capability.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(capability, node) ⇒ CapabilityError
constructor
A new instance of CapabilityError.
Constructor Details
#initialize(capability, node) ⇒ CapabilityError
Returns a new instance of CapabilityError.
102 103 104 105 106 |
# File 'lib/igniter_lang/temporal_access_runtime.rb', line 102 def initialize(capability, node) @capability = capability @node = node super("temporal access requires capability: #{capability}") end |
Instance Attribute Details
#capability ⇒ Object (readonly)
Returns the value of attribute capability.
100 101 102 |
# File 'lib/igniter_lang/temporal_access_runtime.rb', line 100 def capability @capability end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
100 101 102 |
# File 'lib/igniter_lang/temporal_access_runtime.rb', line 100 def node @node end |