Exception: JSI::Error::ResolutionError
- Inherits:
-
StandardError
- Object
- StandardError
- JSI::Error::ResolutionError
- Defined in:
- lib/jsi.rb
Overview
A reference or pointer cannot be resolved
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(msg = nil, *a, uri: nil) ⇒ ResolutionError
constructor
A new instance of ResolutionError.
Constructor Details
#initialize(msg = nil, *a, uri: nil) ⇒ ResolutionError
Returns a new instance of ResolutionError.
35 36 37 38 |
# File 'lib/jsi.rb', line 35 def initialize(msg = nil, *a, uri: nil) super([*msg].compact.join("\n"), *a) @uri = JSI::Util.uri(uri, nnil: false) end |
Instance Attribute Details
#uri ⇒ URI?
41 42 43 |
# File 'lib/jsi.rb', line 41 def uri @uri end |