Exception: ActiveSupport::Testing::RemoteError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveSupport::Testing::RemoteError
- Defined in:
- activesupport/lib/active_support/testing/isolation.rb
Instance Attribute Summary (collapse)
-
- (Object) backtrace
readonly
Returns the value of attribute backtrace.
-
- (Object) message
readonly
Returns the value of attribute message.
Instance Method Summary (collapse)
-
- (RemoteError) initialize(exception)
constructor
A new instance of RemoteError.
Constructor Details
- (RemoteError) initialize(exception)
A new instance of RemoteError
8 9 10 11 |
# File 'activesupport/lib/active_support/testing/isolation.rb', line 8 def initialize(exception) @message = "caught #{exception.class.name}: #{exception.}" @backtrace = exception.backtrace end |
Instance Attribute Details
- (Object) backtrace (readonly)
Returns the value of attribute backtrace
6 7 8 |
# File 'activesupport/lib/active_support/testing/isolation.rb', line 6 def backtrace @backtrace end |
- (Object) message (readonly)
Returns the value of attribute message
6 7 8 |
# File 'activesupport/lib/active_support/testing/isolation.rb', line 6 def @message end |