Exception: StripeMock::StripeMockError
- Inherits:
-
StandardError
- Object
- StandardError
- StripeMock::StripeMockError
- Defined in:
- lib/stripe_mock/errors/stripe_mock_error.rb
Direct Known Subclasses
ClosedClientConnectionError, ServerTimeoutError, UninitializedInstanceError, UnstartedStateError, UnsupportedRequestError
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ StripeMockError
constructor
A new instance of StripeMockError.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ StripeMockError
Returns a new instance of StripeMockError.
6 7 8 |
# File 'lib/stripe_mock/errors/stripe_mock_error.rb', line 6 def initialize() @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/stripe_mock/errors/stripe_mock_error.rb', line 4 def @message end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/stripe_mock/errors/stripe_mock_error.rb', line 10 def to_s @message end |