Exception: ProxyTester::Exceptions::MyStandardError
- Inherits:
-
StandardError
- Object
- StandardError
- ProxyTester::Exceptions::MyStandardError
- Defined in:
- lib/proxy_tester/exceptions.rb,
lib/proxy_tester/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(msg, cause = $!) ⇒ MyStandardError
constructor
A new instance of MyStandardError.
Constructor Details
#initialize(msg, cause = $!) ⇒ MyStandardError
Returns a new instance of MyStandardError.
10 11 12 13 |
# File 'lib/proxy_tester/exceptions.rb', line 10 def initialize(msg, cause = $!) super(msg) @cause = cause; end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
8 9 10 |
# File 'lib/proxy_tester/exceptions.rb', line 8 def cause @cause end |