code: def test_solid_sphere_resolution_errors():
      with pytest.raises(
          ValueError, match="minimum radius cannot be negative"
      ):
          pv.SolidSphere(inner_radius=-1)
      with pytest.raises(
          ValueError,
          match="max theta and min theta must be within 360 degrees",
      ):
          pv.SolidSphere(start_theta=-1)
      with pytest.raises(
          ValueError, match="minimum phi cannot be negative"
      ):
          pv.SolidSphere(start_phi=-1)
      with pytest.raises(
          ValueError,
          match="max theta and min theta must be within 360 degrees",
      ):
          pv.SolidSphere(end_theta=370)
      with pytest.raises(
          ValueError, match="maximum phi cannot be > 180"
      ):
          pv.SolidSphere(end_phi=190)
      with pytest.raises(
          ValueError,
          match=re.escape(
              "max theta and min theta must be within 2 * np.pi"
          ),
      ):
          pv.SolidSphere(end_theta=2.1 * np.pi, radians=True)
      with pytest.raises(
          ValueError, match="maximum phi cannot be > np.pi"
      ):
          pv.SolidSphere(end_phi=1.1 * np.pi, radians=True)
  
      with pytest.raises(
          ValueError, match="radius is not monotonically increasing"
      ):
          pv.SolidSphereGeneric(radius=(0, 10, 1))
      with pytest.raises(
          ValueError, match="theta is not monotonically increasing"
      ):
          pv.SolidSphereGeneric(theta=(0, 180, 90))
      with pytest.raises(
          ValueError, match="phi is not monotonically increasing"
      ):
          pv.SolidSphereGeneric(phi=(0, 180, 90))
  
      with pytest.raises(
          ValueError, match="radius resolution must be 2 or more"
      ):
          pv.SolidSphere(radius_resolution=1)
      with pytest.raises(
          ValueError, match="theta resolution must be 2 or more"
      ):
          pv.SolidSphere(theta_resolution=1)
      with pytest.raises(
          ValueError, match="phi resolution must be 2 or more"
      ):
          pv.SolidSphere(phi_resolution=1)
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 15 for calling a global function with example usage: test_solid_sphere_resolution_errors() without return types