Sha256: aee6b9b6414ebccde0ad204cfc3ad2a55b958ded9ef7e21584799549e2adf0db

Contents?: true

Size: 208 Bytes

Versions: 3

Compression:

Stored size: 208 Bytes

Contents

require "http_error/error"

module HttpError
  # InternalServerError is used by all other errors to inherit from
  class Unauthorized < Error
    self.status = 401
    self.message = 'Unauthorized'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
http-errors-0.1.3 lib/http_error/unauthorized.rb
http-errors-0.1.1 lib/http_error/unauthorized.rb
http-errors-0.1.0 lib/http_error/unauthorized.rb