Exception: ShEx::NotSatisfied
- Defined in:
- vendor/bundler/ruby/3.3.0/bundler/gems/shex-f64040a493d0/lib/shex.rb
Overview
Shape expectation not satisfied
Instance Attribute Summary collapse
-
#expression ⇒ ShEx::Algebra::ShapeExpression
readonly
The expression which was not satified.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, expression: self) ⇒ NotSatisfied
constructor
Initializes a new parser error instance.
- #inspect ⇒ Object
Constructor Details
#initialize(message, expression: self) ⇒ NotSatisfied
Initializes a new parser error instance.
144 145 146 147 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/shex-f64040a493d0/lib/shex.rb', line 144 def initialize(, expression: self) @expression = expression super(.to_s) end |
Instance Attribute Details
#expression ⇒ ShEx::Algebra::ShapeExpression (readonly)
The expression which was not satified
137 138 139 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/shex-f64040a493d0/lib/shex.rb', line 137 def expression @expression end |