Page MenuHomePhabricator

Distinguish between "absence of value" and "value is not a valid ZObject"
Open, MediumPublic

Description

Description

The responseEnvelopeContainsValue function returns false when Z22K1 is not a valid ZObject OR when it is Void. We should distinguish between these two cases.

This is particularly important in the validateReturnType function, where we return a Z560 (but logically should return two different kinds of error for these two cases).

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • make errors gud

Completion checklist