(status)
Raise an exception corresponding to the specified CULA status
    code.

    Parameters
    ----------
    status : int
        CULA status code.
Raise an exception corresponding to the specified CULA status
    code.
Raise an exception corresponding to the specified CULA status code .
def culaCheckStatus(status):
    """
    Raise an exception corresponding to the specified CULA status
    code.

    Parameters
    ----------
    status : int
        CULA status code.
    """

    if status != 0:
        error = culaGetErrorInfo()
        try:
            e = culaExceptions[status](error)
        except KeyError:
            raise culaError(error)
        else:
            raise e
def culaCheckStatus ( status ) : if status != 0 : error = culaGetErrorInfo ( ) try : e = culaExceptions [ status ] ( error ) except KeyError : raise culaError ( error ) else : raise e