Exception: GitDS::InvalidPropertyValueError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- GitDS::InvalidPropertyValueError
- Defined in:
- lib/git-ds/model/property.rb
Overview
Exception raised when Property#valid? returns false.
Instance Method Summary collapse
-
#initialize(name, value) ⇒ InvalidPropertyValueError
constructor
A new instance of InvalidPropertyValueError.
Constructor Details
#initialize(name, value) ⇒ InvalidPropertyValueError
Returns a new instance of InvalidPropertyValueError.
26 27 28 |
# File 'lib/git-ds/model/property.rb', line 26 def initialize(name, value) super "Invalid value '#{value}' for property '#{name}'" end |