Sha256: 41f394538b3e4902c79bf94b1aececb9f7565eef5e675807c63af785a655b8bf
Contents?: true
Size: 1.1 KB
Versions: 6
Compression:
Stored size: 1.1 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 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
6 entries across 6 versions & 1 rubygems