Add passthroughErrors functionality.

Closes #7