encode_error_push Subroutine

public subroutine encode_error_push(code, message, header_bytes)

Encode a server-pushed ERROR frame (spec ยง3.2). Rank 0 only. Always followed by parallel_fatal; the supervisor reads this frame, then observes socket EOF + non-zero exit and raises WorkerError.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: code
character(len=*), intent(in) :: message
integer(kind=int8), intent(out), allocatable :: header_bytes(:)