Adding some more descriptive error messages for dealing with lambda
errors.