failure

fun failure(vararg files: String): JobResult

Constructs a new JobResult for a job failure and marks the given list of files as persistable.

Return

A new, failed JobResult.

Parameters

files

List of files that can be persisted to the S3 store.