throw(DimensionMismatch("")) instead of error("Dimension mismatch")