Sha256: 088614ef976ca1b34376520eaa842fdac4e9b80ceb2a87af5ad1862ab6d4442e

Contents?: true

Size: 281 Bytes

Versions: 4

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

module MinatoErrorHandler
  module Errors
    class InternalError < MinatoError
      def message
        "An internal error has occurred! See more details in caused_by field."
      end

      def status_code
        500
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
minato_error_handler-0.1.10 lib/minato_error_handler/errors/internal_error.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/minato_error_handler-0.1.9.pre.1/lib/minato_error_handler/errors/internal_error.rb
minato_error_handler-0.1.9.pre.1 lib/minato_error_handler/errors/internal_error.rb
minato_error_handler-0.1.8 lib/minato_error_handler/errors/internal_error.rb