ErrorNotification

fun ErrorNotification(jobID: HashID, code: Int, message: String? = null)

Constructs a new ErrorNotification instance.

Parameters

jobID

Hash ID of the job that failed.

code

Error/response code of the job failure.

If the error has no associated code, set this value to 0.

message

Optional error message for the job failure.