feat: add ResultValue and ResultError helper types
#591
+45
−16
ResultValue and ResultError helper types
#591