Sha256: 32600cea231712500fd09f7c34a23de754afccae90a005d16e7e2832878cd031

Contents?: true

Size: 319 Bytes

Versions: 15

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
convenient_service-0.12.0 lib/convenient_service/error.rb
convenient_service-0.11.0 lib/convenient_service/error.rb
convenient_service-0.10.1 lib/convenient_service/error.rb
convenient_service-0.10.0 lib/convenient_service/error.rb
convenient_service-0.9.0 lib/convenient_service/error.rb
convenient_service-0.8.0 lib/convenient_service/error.rb
convenient_service-0.7.0 lib/convenient_service/error.rb
convenient_service-0.6.0 lib/convenient_service/error.rb
convenient_service-0.5.0 lib/convenient_service/error.rb
convenient_service-0.4.0 lib/convenient_service/error.rb
convenient_service-0.3.1 lib/convenient_service/error.rb
convenient_service-0.3.0 lib/convenient_service/error.rb
convenient_service-0.2.1 lib/convenient_service/error.rb
convenient_service-0.2.0 lib/convenient_service/error.rb
convenient_service-0.1.0 lib/convenient_service/error.rb