Exception: SafeType::InvalidRuleError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/safe_type/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeInvalidRuleError

Returns a new instance of InvalidRuleError.



48
49
50
# File 'lib/safe_type/errors.rb', line 48

def initialize()
  super("Coercion rule does not exist or is not valid")
end