Reimplemented link.params.on.error with M.emit