Exception: Rng::ExternalRefResolver::ExternalRefResolutionError
- Inherits:
-
Rng::Error
- Object
- StandardError
- Rng::Error
- Rng::ExternalRefResolver::ExternalRefResolutionError
- Defined in:
- lib/rng/external_ref_resolver.rb
Overview
Error raised when external reference resolution fails
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#href ⇒ Object
readonly
Returns the value of attribute href.
Instance Method Summary collapse
-
#initialize(message, href: nil, cause: nil) ⇒ ExternalRefResolutionError
constructor
A new instance of ExternalRefResolutionError.
Constructor Details
#initialize(message, href: nil, cause: nil) ⇒ ExternalRefResolutionError
Returns a new instance of ExternalRefResolutionError.
18 19 20 21 22 |
# File 'lib/rng/external_ref_resolver.rb', line 18 def initialize(, href: nil, cause: nil) super() @href = href @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
16 17 18 |
# File 'lib/rng/external_ref_resolver.rb', line 16 def cause @cause end |
#href ⇒ Object (readonly)
Returns the value of attribute href.
16 17 18 |
# File 'lib/rng/external_ref_resolver.rb', line 16 def href @href end |