Throw errors when passthroughErrors is enabled
Merge pull request #21 from seegno/bugfix/throw-error-when-passing-through

Throw errors when passthroughErrors is enabled