lib/xero_gateway/exceptions.rb in xero_gateway-float-2.0.18 vs lib/xero_gateway/exceptions.rb in xero_gateway-float-2.1.1

- old
+ new

@@ -1,6 +1,10 @@ module XeroGateway + class NoGatewayError < StandardError; end + class AccountsListNotLoadedError < StandardError; end + class InvalidLineItemError < StandardError; end + class ApiException < StandardError def initialize(type, message, request_xml, response_xml) @type = type @message = message @@ -41,6 +45,7 @@ end class InvoiceNotFoundError < StandardError; end class BankTransactionNotFoundError < StandardError; end class CreditNoteNotFoundError < StandardError; end + class ManualJournalNotFoundError < StandardError; end end