Exceptions trigger user errors, that can be caught by shell through the return code. Php logs errors to stderr. Filesystem, Gzip and CSV classes.