Sha256: 792362f6cdf13b06386bb9e1b43ffe616244665d1ddda8d3a525ac527c7311a8

Contents?: true

Size: 576 Bytes

Versions: 7

Compression:

Stored size: 576 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module LunchMoney
  # Base exception class for exceptions raised by this gem
  class Exception < StandardError; end

  # Exception raised when an API Key appears to be invalid
  class InvalidApiKey < Exception; end

  # Exception raised when an object attribute is invalid
  class InvalidObjectAttribute < Exception; end

  # Exception raised when a query parameter is invalid
  class InvalidQueryParameter < Exception; end

  # Exception raised when an essential argument is missing
  class MissingArgument < Exception; end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lunchmoney-1.4.0 lib/lunchmoney/exceptions.rb
lunchmoney-1.2.0 lib/lunchmoney/exceptions.rb
lunchmoney-1.1.2 lib/lunchmoney/exceptions.rb
lunchmoney-1.1.1 lib/lunchmoney/exceptions.rb
lunchmoney-1.1.0 lib/lunchmoney/exceptions.rb
lunchmoney-1.0.0 lib/lunchmoney/exceptions.rb
lunchmoney-0.10.0 lib/lunchmoney/exceptions.rb