more descriptive errors in closure