Class: Vertica::Protocol::CopyFail
- Inherits:
-
FrontendMessage
- Object
- Message
- FrontendMessage
- Vertica::Protocol::CopyFail
- Defined in:
- lib/vertica/protocol/frontend/copy_fail.rb
Instance Method Summary collapse
-
#initialize(error_message) ⇒ CopyFail
constructor
A new instance of CopyFail.
- #message_body ⇒ Object
Methods inherited from FrontendMessage
Methods inherited from Message
Constructor Details
#initialize(error_message) ⇒ CopyFail
Returns a new instance of CopyFail.
6 7 8 |
# File 'lib/vertica/protocol/frontend/copy_fail.rb', line 6 def initialize() @error_message = end |
Instance Method Details
#message_body ⇒ Object
10 11 12 |
# File 'lib/vertica/protocol/frontend/copy_fail.rb', line 10 def [@error_message].pack('Z*') end |