Exception: Carload::InvalidError

Inherits:
Error
  • Object
show all
Defined in:
lib/carload/exceptions.rb

Instance Attribute Summary

Attributes inherited from Error

#message

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ InvalidError

Returns a new instance of InvalidError.



19
20
21
# File 'lib/carload/exceptions.rb', line 19

def initialize data
  @message = data
end