Exception: GenerativeUI::InvalidComponentTreeError
- Inherits:
-
StandardError
- Object
- StandardError
- GenerativeUI::InvalidComponentTreeError
- Defined in:
- lib/generative_ui/invalid_component_tree_error.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ InvalidComponentTreeError
constructor
A new instance of InvalidComponentTreeError.
Constructor Details
#initialize(errors) ⇒ InvalidComponentTreeError
Returns a new instance of InvalidComponentTreeError.
7 8 9 10 |
# File 'lib/generative_ui/invalid_component_tree_error.rb', line 7 def initialize(errors) @errors = errors super("Invalid generative UI component tree: #{errors.inspect}") end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
5 6 7 |
# File 'lib/generative_ui/invalid_component_tree_error.rb', line 5 def errors @errors end |