Report question

Question: How do I get the effect and usefulness of "set -e" inside a shell function?