StreamingQuery.
exception
the StreamingQueryException if the query was terminated by an exception, or None.
New in version 2.1.