Class: Dtn::Messages::System::Error

Inherits:
Dtn::Message
  • Object
show all
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

callback_name, #callback_name

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

Returns:

  • (Boolean)


14
15
16
# File 'lib/dtn/messages/system/error.rb', line 14

def termination?
  true
end