moved error handling from developers guide