An efficient, standards-compliant library for representing results of successful or failed operations