Class: I18nFlow::Validator::InvalidTypeError

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

Instance Attribute Summary

Attributes inherited from Error

#file, #key, #line

Instance Method Summary collapse

Methods inherited from Error

#==, #data, #set_location, #single?

Constructor Details

#initialize(key, single: false) ⇒ InvalidTypeError

Returns a new instance of InvalidTypeError.



32
33
34
35
# File 'lib/i18n_flow/validator/errors.rb', line 32

def initialize(key, single: false)
  super(key)
  @single = single
end