Table of Contents

Class MAError

Namespace
NumSharp
Assembly
NumSharp.dll

NumPy's numpy.ma.MAError: the base exception for masked-array errors. Distinct from the ordinary NumSharp/NumPy exceptions so a caller can catch masked-array-specific failures without also catching unrelated Exceptions. NumSharp's np.ma surface does not yet RAISE this itself (the current failures leak the underlying np.* exception), so it exists for API/type parity and for callers that want to throw it from their own masked-array code.

public class MAError : Exception, ISerializable
Inheritance
MAError
Implements
Derived
Inherited Members

Constructors

MAError()

Creates the error with Python's text for a bare raise MAError: an empty Message, as str(np.ma.MAError()) is '' (not .NET's default "Exception of type 'NumSharp.MAError' was thrown.").

public MAError()

MAError(string)

Creates the error with a human-readable message.

public MAError(string message)

Parameters

message string

The error text.

MAError(string, Exception)

Creates the error wrapping an innerException.

public MAError(string message, Exception innerException)

Parameters

message string

The error text.

innerException Exception

The underlying cause.