Add some errors to the api.