move SolveAPIError into errors.py and allow top-level import of the exception