Source code for distarray.localapi.error
# encoding: utf-8
# ---------------------------------------------------------------------------
# Copyright (C) 2008-2014, IPython Development Team and Enthought, Inc.
# Distributed under the terms of the BSD License. See COPYING.rst.
# ---------------------------------------------------------------------------
from distarray.error import DistArrayError
[docs]class InvalidBaseCommError(DistArrayError):
""" Exception class when an object expected to be an MPI.Comm object is not one. """
pass
[docs]class IncompatibleArrayError(DistArrayError):
""" Exception class when arrays are incompatible. """
pass
[docs]class NullCommError(DistArrayError):
""" Exception class when an MPI communicator is NULL. """
pass
[docs]class InvalidDimensionError(DistArrayError):
""" Exception class when a specified dimension is invalid. """
pass