Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Remove base error class
Browse files Browse the repository at this point in the history
  • Loading branch information
skukx committed Feb 4, 2019
1 parent 8a6f7fb commit 92d164b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/models/solidus_paypal_braintree/gateway.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ module SolidusPaypalBraintree
class Gateway < ::Spree::PaymentMethod
include RequestProtection

class Error < StandardError; end
class TokenGenerationDisabledError < Error; end
class TokenGenerationDisabledError < StandardError; end

# Error message from Braintree that gets returned by a non voidable transaction
NON_VOIDABLE_STATUS_ERROR_REGEXP = /can only be voided if status is authorized/
Expand Down

0 comments on commit 92d164b

Please sign in to comment.