Remove unused exceptions.
Throw API errors so they are logged.