doOnAfterError

fun <T> Maybe<T>.doOnAfterError(consumer: (Throwable) -> Unit): Maybe<T>

Calls the consumer with the emitted Throwable when the Maybe signals onError. The consumer is called after the observer is called.