Exception: GitDS::InvalidPropertyValueError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/git-ds/model/property.rb

Overview

Exception raised when Property#valid? returns false.

Instance Method Summary collapse

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