JobCancellationException

class JobCancellationException : CancellationException (source)

Thrown by cancellable suspending functions if the Job of the coroutine is cancelled or completed without cause, or with a cause or exception that is not CancellationException (see Job.getCancellationException).

Constructors

<init>

JobCancellationException(
    message: String,
    cause: Throwable?,
    job: Job)

Thrown by cancellable suspending functions if the Job of the coroutine is cancelled or completed without cause, or with a cause or exception that is not CancellationException (see Job.getCancellationException).

Properties

cause

val cause: Throwable?

job

val job: Job

The job that was cancelled.

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String