Add kdoc to OnNextFailedException

This commit is contained in:
Kyriakos Tharrouniatis 2020-02-16 16:59:48 +00:00
parent 9a2daeb5c9
commit ddbcba3f2e

View File

@ -63,5 +63,10 @@ class FlowSafeSubscriber<T>(actual: Subscriber<in T>) : SafeSubscriber<T>(actual
}
}
/**
* We throw [OnNextFailedException] to pass the exception back through the preceding [Subscriber] chain
* without triggering any [SafeSubscriber.onError]s. Since we extending an [OnErrorNotImplementedException]
* the exception will be re-thrown at [Exceptions.throwOrReport].
*/
@VisibleForTesting
class OnNextFailedException(message: String, cause: Throwable) : OnErrorNotImplementedException(message, cause)