Exception: Jschematic::SchemaNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Jschematic::SchemaNotFoundError
- Defined in:
- lib/jschematic/exceptions.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri) ⇒ SchemaNotFoundError
constructor
A new instance of SchemaNotFoundError.
- #to_s ⇒ Object
Constructor Details
#initialize(uri) ⇒ SchemaNotFoundError
Returns a new instance of SchemaNotFoundError.
17 18 19 |
# File 'lib/jschematic/exceptions.rb', line 17 def initialize(uri) @uri = uri end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
15 16 17 |
# File 'lib/jschematic/exceptions.rb', line 15 def uri @uri end |
Instance Method Details
#to_s ⇒ Object
21 22 23 |
# File 'lib/jschematic/exceptions.rb', line 21 def to_s "Cannot find schema for reference '#{uri}'" end |