Exception: Quandl::Cassandra::Error::CastException

Inherits:
Exception
  • Object
show all
Defined in:
lib/quandl/cassandra/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, bytes = nil) ⇒ CastException

Returns a new instance of CastException.



5
6
7
8
# File 'lib/quandl/cassandra/error.rb', line 5

def initialize(message = nil, bytes = nil)
  super(message)
  @bytes = bytes
end

Instance Attribute Details

#bytesObject (readonly)

Returns the value of attribute bytes.



3
4
5
# File 'lib/quandl/cassandra/error.rb', line 3

def bytes
  @bytes
end