nitc :: APIErrorHandler :: defaultinit
# Error handler user to catch non resolved request by the API
#
# Displays a JSON formatted 404 error.
class APIErrorHandler
super APIHandler
redef fun all(req, res) do
res.api_error(404, "Not found")
end
end
src/doc/api/api.nit:32,1--41,3