Exception: SafeType::EmptyValueError

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

Instance Method Summary collapse

Constructor Details

#initialize(message = "the value should not be empty") ⇒ EmptyValueError

Returns a new instance of EmptyValueError.



17
18
19
# File 'lib/safe_type/errors.rb', line 17

def initialize(message="the value should not be empty")
  super
end