does it make sense for the view to know anything about HTTP status codes? why not set an error property on the model?