Added changes from https://github.com/m5m1th/node-seq/commit/b30bd74ff31c0b61a7c793a5d4c973dfc83c8552 to change .catch to .error and fix tests