Throw errors when passthroughErrors is enabled