Sha256: 711cd26d0f88a50b6e64675fbc2c0a5fa7560207e9532a0f3df6d049728a935e

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true

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

      def status_code
        500
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minato_error_handler-0.1.7 lib/minato_error_handler/errors/unknown_error.rb