Exception: Composer::Json::JsonValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Composer::Json::JsonValidationError
- Defined in:
- lib/composer/json/json_validaton_error.rb
Overview
Represents a Json Validation error
PHP Authors: Jordi Boggiano <[email protected]>
Ruby Authors: Ioannis Kappas <[email protected]>
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ JsonValidationError
constructor
A new instance of JsonValidationError.
Constructor Details
#initialize(errors) ⇒ JsonValidationError
Returns a new instance of JsonValidationError.
24 25 26 |
# File 'lib/composer/json/json_validaton_error.rb', line 24 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
22 23 24 |
# File 'lib/composer/json/json_validaton_error.rb', line 22 def errors @errors end |