discourse/discourse — pull request #1384 by einarj (2013-08-26 08:48:25+00:00)
Title: Nickname unavailable generates error json

A NicknameUnavailable error always applies to a specific nickname. Therefore it has all the information it need to generate the Hash that is rendered as a JSON response.