Raises error but returns more descriptive error message