onStreamFailure( stream, error ) {
		if ( error instanceof Aborted ) { return; }

		logError( error, () => stream.toJSON({ includeId: true }) );

		// clear cache on error
		clearCache();

		// show error in modal
		set( stream, "error", error );
	}
@param {Stream} stream
@param {Error} error