Type Alias: PayErrorCode
PayErrorCode =
"invalid_rate"|"invalid_contracted_hours"|"invalid_hours"
Defined in: src/lib/pay/index.ts:182
Validation failure codes from calculateContractorPay: invalid_rate (negative rate),
invalid_contracted_hours (weekly contracted hours not > 0), invalid_hours (a negative
time-entry). These are returned as the err branch of a Result, never thrown.