Table of Contents

Class KeyError

Namespace
NumSharp
Assembly
NumSharp.dll

Exception that corresponds to Python/NumPy's KeyError. Raised when a mapping (dict) key is not found.

public class KeyError : NumSharpException, ISerializable, INumSharpException
Inheritance
KeyError
Implements
Inherited Members

Remarks

Mirrors Python's KeyError for API compatibility. In NumSharp this is raised where NumPy itself raises KeyError — notably np.einsum_path(..., optimize="<unknown>"), which reaches einsumfunc.py's raise KeyError("Path name %s not found", path_type).

Constructors

KeyError()

public KeyError()

KeyError(string)

public KeyError(string message)

Parameters

message string