Exception: Yast2::Systemctl::Error

Inherits:
StandardError
  • Object
show all
Defined in:
library/systemd/src/lib/yast2/systemctl.rb

Overview

Exception when systemctl command failed

Instance Method Summary collapse

Constructor Details

#initialize(details) ⇒ Error

Returns a new instance of Error.

Parameters:

  • details (#to_s)

18
19
20
# File 'library/systemd/src/lib/yast2/systemctl.rb', line 18

def initialize(details)
  super "Systemctl command failed: #{details}"
end