Sha256: 400fd624ea40af18ce119b278f0d89f8b9929d9d4671399b6ee6d5410ce832b1
Contents?: true
Size: 1008 Bytes
Versions: 10
Compression:
Stored size: 1008 Bytes
Contents
module Afterbanks class Error < ::StandardError attr_reader :message, :debug_id, :additional_info def initialize(message:, debug_id:, additional_info: nil) @message = message @debug_id = debug_id @additional_info = additional_info end def code raise 'Not implemented' end end class GenericError < Error def code 1 end end class ServiceUnavailableTemporarilyError < Error def code 2 end end class ConnectionDataError < Error def code 3 end end class AccountIdDoesNotExistError < Error def code 4 end end class CutConnectionError < Error def code 5 end end class HumanActionNeededError < Error def code 6 end end class AccountIdNeededError < Error def code 50 end end class TwoStepAuthenticationError < Error def code 50 end end class MissingParameterError < Error def code 50 end end end
Version data entries
10 entries across 10 versions & 1 rubygems