Helper library for communicating basic success/failure/reason info along with a value.