Exception: Pay::BraintreeAuthorizationError
- Inherits:
-
BraintreeError
- Object
- StandardError
- Error
- Pay::Braintree::Error
- BraintreeError
- Pay::BraintreeAuthorizationError
- Defined in:
- lib/pay/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from Error
Constructor Details
This class inherits a constructor from Pay::Error
Instance Method Details
#message ⇒ Object
68 69 70 71 |
# File 'lib/pay/errors.rb', line 68 def ActiveSupport::Deprecation.warn("Pay::BraintreeAuthorizationError is deprecated. Instead, use `Pay::Braintree::AuthorizationError`.") I18n.t("errors.braintree.authorization") end |