Sha256: 92abfc3cc72be5ab8625ce74d98adf269eee312eb6099f3613c12be9bbc16982
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
module Braintree # :nodoc: # Super class for all Braintree exceptions. class BraintreeError < ::StandardError; end class AuthenticationError < BraintreeError; end class AuthorizationError < BraintreeError; end class ConfigurationError < BraintreeError def initialize(setting, message) # :nodoc: super "Braintree::Configuration.#{setting} #{message}" end end class DownForMaintenanceError < BraintreeError; end class ForgedQueryString < BraintreeError; end class InvalidSignature < BraintreeError; end class InvalidChallenge < BraintreeError; end class NotFoundError < BraintreeError; end class ServerError < BraintreeError; end class SSLCertificateError < BraintreeError; end class UnexpectedError < BraintreeError; end class UpgradeRequiredError < BraintreeError; end class ValidationsFailed < BraintreeError attr_reader :error_result def initialize(error_result) @error_result = error_result end def inspect "#<#{self.class} error_result: #{@error_result.inspect}>" end def to_s inspect end end class TestOperationPerformedInProduction < BraintreeError; end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
braintree-2.45.0 | lib/braintree/exceptions.rb |
braintree-2.44.0 | lib/braintree/exceptions.rb |