Document onError.