I think we should have a session and go through the API and identify what should be raised when things go wrong.