Sha256: 9faa4e28fcfde3107be585e5840d2804ed09eb80ebd36779f9527eda515b911b

Contents?: true

Size: 508 Bytes

Versions: 3

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true

module Bellman
  module Handlers
    # Base class for all error handlers
    class BaseHandler
      # rubocop:disable Lint/UnusedMethodArgument
      # rubocop:disable Metrics/ParameterLists
      def handle(
        _error, severity: nil, trace_id: nil, objects: nil, data: nil,
        include_backtrace: false
      )
        raise 'Not implemented'
      end
      # rubocop:enable Lint/UnusedMethodArgument
      # rubocop:enable Metrics/ParameterLists
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bellman-0.1.2 lib/bellman/handlers/base_handler.rb
bellman-0.1.1 lib/bellman/handlers/base_handler.rb
bellman-0.1.0 lib/bellman/handlers/base_handler.rb