Exception: Deftones::CodecCommandError

Inherits:
Error
  • Object
show all
Defined in:
lib/deftones.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, command:, stdout:, stderr:, status:) ⇒ CodecCommandError

Returns a new instance of CodecCommandError.



10
11
12
13
14
15
16
# File 'lib/deftones.rb', line 10

def initialize(message, command:, stdout:, stderr:, status:)
  super(message)
  @command = command
  @stdout = stdout
  @stderr = stderr
  @status = status
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



8
9
10
# File 'lib/deftones.rb', line 8

def command
  @command
end

#statusObject (readonly)

Returns the value of attribute status.



8
9
10
# File 'lib/deftones.rb', line 8

def status
  @status
end

#stderrObject (readonly)

Returns the value of attribute stderr.



8
9
10
# File 'lib/deftones.rb', line 8

def stderr
  @stderr
end

#stdoutObject (readonly)

Returns the value of attribute stdout.



8
9
10
# File 'lib/deftones.rb', line 8

def stdout
  @stdout
end