Sha256: 4f937e58e3d189007a18ea2ced3ca45f75af0d00475cf56ee8d2c36910644247

Contents?: true

Size: 312 Bytes

Versions: 3

Compression:

Stored size: 312 Bytes

Contents

# frozen_string_literal: true

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

    def status_code
      500
    end

    def serializable_methods
      default_serializable_methods
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minato_error_handler-0.1.2.pre.4 lib/minato_error_handler/unknow_error.rb
minato_error_handler-0.1.2.pre.3 lib/minato_error_handler/unknow_error.rb
minato_error_handler-0.1.2.pre.2 lib/minato_error_handler/unknow_error.rb