return "string" -> croak "string"

This change should speed debugging when things go wrong by throwing the error immediately on discovery, and bringing the error handling more in line with expectations.