Exception: Leakferret::BinaryInvocationError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, exit_status:, stderr:) ⇒ BinaryInvocationError

Returns a new instance of BinaryInvocationError.



9
10
11
12
13
# File 'lib/leakferret/error.rb', line 9

def initialize(message, exit_status:, stderr:)
  super(message)
  @exit_status = exit_status
  @stderr = stderr
end

Instance Attribute Details

#exit_statusObject (readonly)

Returns the value of attribute exit_status.



7
8
9
# File 'lib/leakferret/error.rb', line 7

def exit_status
  @exit_status
end

#stderrObject (readonly)

Returns the value of attribute stderr.



7
8
9
# File 'lib/leakferret/error.rb', line 7

def stderr
  @stderr
end