Exception: Pwl::InvalidEntryError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pwl/entry.rb

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ InvalidEntryError

Returns a new instance of InvalidEntryError.



6
7
8
# File 'lib/pwl/entry.rb', line 6

def initialize(errors)
  super(errors.to_a.join(', '))
end