ProcessException

class ProcessException : RuntimeException(source)

Represents an error that has been encountered during the runtime of a Process.

This API is available to provide kmp-process consumers the choice of how internal errors get handled, as well as kmp-process the ability to react to that choice in a manner which prevents zombie processes.

See also

Types

Link copied to clipboard
object Companion
Link copied to clipboard
fun interface Handler

A callback for being notified of ProcessException, if they occur.

Properties

Link copied to clipboard
open override val cause: Throwable

The underlying cause of the ProcessException.

Link copied to clipboard
@JvmField
val context: String

Contextual information about where the error occurred.

Link copied to clipboard
open override val message: String