wendy / com.levibostian.wendy.service / Wendy / getLatestError

getLatestError

fun getLatestError(taskId: Long): PendingTaskError?

How to check if an error has been recorded for a PendingTask.

Parameters

taskId - The taskId of a PendingTask you may or may not have recorded an error for.

Exceptions

IllegalArgumentException - If the PendingTask for the taskId provided does not exist.