code: def __init__(self):
      err_msg = "Matrix is not positive semidefinite (PSD)."
      super(LinAlgError, self).__init__(err_msg)
  
imports: from numpy.linalg import LinAlgError
label_desc: Use image node_id 1 to create a new NonPSDError object from inherited base classes: LinAlgError with example: obj = NonPSDError()