Exception: Sus::Fixtures::IsolatedRubyContext::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Sus::Fixtures::IsolatedRubyContext::Error
- Defined in:
- lib/sus/fixtures/isolated_ruby_context.rb
Overview
Raised when the child process exits unsuccessfully without returning an exception.
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
- #The child process's exit status.(childprocess's exit status.) ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(status) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(status) ⇒ Error
Returns a new instance of Error.
17 18 19 20 |
# File 'lib/sus/fixtures/isolated_ruby_context.rb', line 17 def initialize(status) @status = status super("Isolated Ruby failed (#{status})") end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
23 24 25 |
# File 'lib/sus/fixtures/isolated_ruby_context.rb', line 23 def status @status end |
#The child process's exit status.(childprocess's exit status.) ⇒ Object (readonly)
23 |
# File 'lib/sus/fixtures/isolated_ruby_context.rb', line 23 attr :status |