Sha256: f588f0e90f0b3a7859be18c2725aad570a60e6e0fdc4ce3efcb3b7cbfa8f4a71

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

module MinatoErrorHandler
  module Errors
    class NotAuthorizedError < InternalError
      def message
        "you are not allowed to perform this action"
      end

      def status_code
        403
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minato_error_handler-0.1.10 lib/minato_error_handler/errors/not_authorized_error.rb