Add __FUNCTION__ to the error mesage.