Introduce SphereError types. Closes #11