Expose filtering errors in collections API (bug 914315)

https://bugzilla.mozilla.org/show_bug.cgi?id=914315