Sha256: 389c961d0a91ee5f759b44f0e8c67b7118770cde2b7c3979ad480c45e23f4e40
Contents?: true
Size: 615 Bytes
Versions: 4
Compression:
Stored size: 615 Bytes
Contents
# frozen_string_literal: true # Defines some errors to identify Exceptions within this gem module FinApps # :nodoc: # Base error class. class Error < StandardError; end # Raised for existing but invalid arguments. class InvalidArgumentsError < Error; end # Raised whenever a required argument is missing. class MissingArgumentsError < Error; end # Raised whenever there is a session timeout at the API. class ApiSessionTimeoutError < Error; end %i(InvalidArgumentsError MissingArgumentsError ApiSessionTimeoutError).each do |const| Error.const_set(const, FinApps.const_get(const)) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
finapps-2.1.4 | lib/finapps/error.rb |
finapps-2.1.3 | lib/finapps/error.rb |
finapps-2.1.2 | lib/finapps/error.rb |
finapps-2.1.1 | lib/finapps/error.rb |