Class: Dtn::Messages::System::Error
- Inherits:
-
Dtn::Message
- Object
- OpenStruct
- Dtn::Message
- Dtn::Messages::System::Error
- Defined in:
- lib/dtn/messages/system/error.rb
Overview
Error message abstraction.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Dtn::Message
Class Method Details
.parse(line:) ⇒ Object
9 10 11 |
# File 'lib/dtn/messages/system/error.rb', line 9 def parse(line:, **) raise "DTN Error: #{line}" end |
Instance Method Details
#termination? ⇒ Boolean
14 15 16 |
# File 'lib/dtn/messages/system/error.rb', line 14 def termination? true end |