Table of Contents

Class ConverterLockError

Namespace
NumSharp
Assembly
NumSharp.dll

NumPy's numpy.lib._iotools.ConverterLockError: an attempt to upgrade a locked column converter of np.genfromtxt (one whose dtype the caller fixed) to a wider type.

public class ConverterLockError : ConverterError, ISerializable, INumSharpException
Inheritance
ConverterLockError
Implements
Inherited Members

Remarks

A subclass of ConverterError, as in NumPy, so catch (ConverterError) catches it. NumSharp does not raise it yet (no np.genfromtxt); the class exists for ports.

Constructors

ConverterLockError()

Creates the error with Python's text for a bare raise ConverterLockError: an empty Message, as str(ConverterLockError()) is ''.

public ConverterLockError()

ConverterLockError(string)

Creates the error with NumPy's (or the port's) message.

public ConverterLockError(string message)

Parameters

message string

The text, verbatim (Converter is locked and cannot be upgraded, NumPy's StringConverter.upgrade).

ConverterLockError(string, Exception)

Creates the error with a message and the exception that caused it: Python's raise ConverterLockError(message) from innerException, the cause kept in InnerException.

public ConverterLockError(string message, Exception innerException)

Parameters

message string

The text, verbatim.

innerException Exception

The exception that led to this one, or null for none.