Class AttributeError
- Namespace
- NumSharp
- Assembly
- NumSharp.dll
Exception that corresponds to Python/NumPy's AttributeError. Raised when an attribute reference or assignment fails.
public class AttributeError : NumSharpException, ISerializable, INumSharpException
- Inheritance
-
AttributeError
- Implements
- Inherited Members
Remarks
Mirrors Python's AttributeError for API compatibility. In NumSharp this is raised where NumPy
itself raises AttributeError — notably np.savetxt(fname, X, fmt=[...]) when the
list/tuple of formats is not the same length as the number of columns, which reaches
_npyio_impl.py's raise AttributeError(f'fmt has wrong shape. {str(fmt)}').
Constructors
AttributeError()
public AttributeError()
AttributeError(string)
public AttributeError(string message)
Parameters
messagestring