Exception: Braintree::ValidationsFailed
- Inherits:
-
BraintreeError
- Object
- StandardError
- BraintreeError
- Braintree::ValidationsFailed
- Defined in:
- lib/braintree/exceptions.rb
Instance Attribute Summary collapse
-
#error_result ⇒ Object
readonly
Returns the value of attribute error_result.
Instance Method Summary collapse
-
#initialize(error_result) ⇒ ValidationsFailed
constructor
A new instance of ValidationsFailed.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(error_result) ⇒ ValidationsFailed
Returns a new instance of ValidationsFailed.
35 36 37 |
# File 'lib/braintree/exceptions.rb', line 35 def initialize(error_result) @error_result = error_result end |
Instance Attribute Details
#error_result ⇒ Object (readonly)
Returns the value of attribute error_result.
33 34 35 |
# File 'lib/braintree/exceptions.rb', line 33 def error_result @error_result end |
Instance Method Details
#inspect ⇒ Object
39 40 41 |
# File 'lib/braintree/exceptions.rb', line 39 def inspect "#<#{self.class} error_result: #{@error_result.inspect}>" end |
#to_s ⇒ Object
43 44 45 |
# File 'lib/braintree/exceptions.rb', line 43 def to_s inspect end |