Sha256: 142ce981329daeb5e9fea2f2f2400e068b44eaf8f8f735dca2050bb5d40ee58e

Contents?: true

Size: 277 Bytes

Versions: 9

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

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

      def status_code
        500
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
minato_error_handler-0.1.6 lib/minato_error_handler/errors/unknow_error.rb
minato_error_handler-0.1.5 lib/minato_error_handler/errors/unknow_error.rb
minato_error_handler-0.1.4 lib/minato_error_handler/errors/unknow_error.rb
minato_error_handler-0.1.3 lib/minato_error_handler/errors/unknow_error.rb
minato_error_handler-0.1.2.pre.9 lib/minato_error_handler/errors/unknow_error.rb
minato_error_handler-0.1.2.pre.8 lib/minato_error_handler/errors/unknow_error.rb
minato_error_handler-0.1.2.pre.7 lib/minato_error_handler/errors/unknow_error.rb
minato_error_handler-0.1.2.pre.6 lib/minato_error_handler/errors/unknow_error.rb
minato_error_handler-0.1.2.pre.5 lib/minato_error_handler/errors/unknow_error.rb