Exceptions#

exception graphblas.exceptions.DimensionMismatch#

The input or output dimensions (i.e. shape) are not compatible.

exception graphblas.exceptions.DomainMismatch#

The domains (i.e. data types) of the inputs or outputs are incompatible for the operation.

exception graphblas.exceptions.EmptyObject#

A provided Scalar object is empty, but requires a value.

This could happen, for example, if an empty Scalar is provided as the right argument to apply().

exception graphblas.exceptions.IndexOutOfBound#

A provided index falls outside the dimensions.

In non-blocking mode, this error can be deferred.

exception graphblas.exceptions.InvalidIndex#

Provided index specifies a location outside the dimensions.

This error is always raised immediately, even in non-blocking mode.

exception graphblas.exceptions.InvalidObject#

One of the collection objects (input or output) is in an invalid state due to a previous error.

exception graphblas.exceptions.NotImplementedException#

The backend GraphBLAS implementation does not support the operation for the provided inputs.

exception graphblas.exceptions.OutOfMemory#

GraphBLAS ran out of memory when allocating space for the operation.

exception graphblas.exceptions.OutputNotEmpty#

Attempt to call build() on a non-empty object.

exception graphblas.exceptions.Panic#

Unknown internal GraphBLAS error.

exception graphblas.exceptions.UdfParseError#

Unable to parse the user-defined function.