Exception: Carload::UnsupportedError

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) ⇒ UnsupportedError

Returns a new instance of UnsupportedError.



13
14
15
# File 'lib/carload/exceptions.rb', line 13

def initialize data
  @message = "Carload does not support #{data} currently."
end