OPDC API error code

PAYROLL_BATCH_EMPTY

HTTP status 422

A payroll batch carrying no checks. 422.

The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/errors/payroll-batch-empty, and with X-Error-Code: PAYROLL_BATCH_EMPTY. Branch on the code, never on the detail text.

How errors work, and what to retryEvery error code