Exception: Lore::Exception::Unknown_Typecode
- Inherits:
-
Exception
- Object
- Exception
- Lore::Exception::Unknown_Typecode
- Defined in:
- lib/lore/exception/unknown_typecode.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(_code) ⇒ Unknown_Typecode
constructor
A new instance of Unknown_Typecode.
Constructor Details
#initialize(_code) ⇒ Unknown_Typecode
Returns a new instance of Unknown_Typecode.
9 10 11 12 13 14 |
# File 'lib/lore/exception/unknown_typecode.rb', line 9 def initialize(_code) @code = _code @message = 'Unknown PGSQL type: ' + _code.to_s end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
7 8 9 |
# File 'lib/lore/exception/unknown_typecode.rb', line 7 def code @code end |