Exception: StripeMock::ServerTimeoutError
- Inherits:
-
StripeMockError
- Object
- StandardError
- StripeMockError
- StripeMock::ServerTimeoutError
- Defined in:
- lib/stripe_mock/errors/server_timeout_error.rb
Instance Attribute Summary collapse
-
#associated_error ⇒ Object
readonly
Returns the value of attribute associated_error.
Attributes inherited from StripeMockError
Instance Method Summary collapse
-
#initialize(associated_error) ⇒ ServerTimeoutError
constructor
A new instance of ServerTimeoutError.
Methods inherited from StripeMockError
Constructor Details
#initialize(associated_error) ⇒ ServerTimeoutError
Returns a new instance of ServerTimeoutError.
6 7 8 9 |
# File 'lib/stripe_mock/errors/server_timeout_error.rb', line 6 def initialize(associated_error) @associated_error = associated_error super("Unable to connect to stripe mock server (did you forget to run `$ stripe-mock-server`?)") end |
Instance Attribute Details
#associated_error ⇒ Object (readonly)
Returns the value of attribute associated_error.
4 5 6 |
# File 'lib/stripe_mock/errors/server_timeout_error.rb', line 4 def associated_error @associated_error end |