[UPDATE] change `error` to `err` to address webcomponents issue #138.