notifyException method
For internal use only.
Implementation
@internal
Object notifyException(Object exception, [StackTrace? stackTrace]) {
_onAuthStateChangeController.addError(
exception,
stackTrace ?? StackTrace.current,
);
return exception;
}