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.
36 37 38 |
# File 'lib/braintree/exceptions.rb', line 36 def initialize(error_result) @error_result = error_result end |
Instance Attribute Details
#error_result ⇒ Object (readonly)
Returns the value of attribute error_result.
34 35 36 |
# File 'lib/braintree/exceptions.rb', line 34 def error_result @error_result end |
Instance Method Details
#inspect ⇒ Object
40 41 42 |
# File 'lib/braintree/exceptions.rb', line 40 def inspect "#<#{self.class} error_result: #{@error_result.inspect}>" end |
#to_s ⇒ Object
44 45 46 |
# File 'lib/braintree/exceptions.rb', line 44 def to_s inspect end |