Use new error API for Stream errors