Sha256: 7bbc49a1fbb4a0ee224738b1623be1b5a1210c17b449546aaa9727ac6a03cd78

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

##
# Base class for all `ConvenientService` exceptions.
# Can be used as a catch-all solution, for example:
#
#   begin
#     any_service.result
#   rescue ConvenientService::Exception => exception
#     puts exception.message
#   end
#
module ConvenientService
  class Exception < ::StandardError
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.16.0 lib/convenient_service/exception.rb
convenient_service-0.15.0 lib/convenient_service/exception.rb
convenient_service-0.14.0 lib/convenient_service/exception.rb
convenient_service-0.13.0 lib/convenient_service/exception.rb