haskell / hackage-server

Hackage-Server: A Haskell Package Repository
http://hackage.haskell.org
Other
414 stars 198 forks source link

Add more links to [ErrorMessage]s throughout the application #8

Open edsko opened 11 years ago

edsko commented 11 years ago

(particularly with authentication)

dcoutts commented 11 years ago

@gracenotes could you enlighten us as to what this TODO item meant?

gracenotes commented 11 years ago

This is based on the semi-RESTful idea that people should not reach dead ends, that is, pages with only error messages where nothing that can be done. If there is no package by a name, show fuzzy-matching suggestions; if auth failed, say why and link to necessary resources. This is about adding MLinks within error response to make sure clients have a place to go.