Simplify Result implementation using Swift's error throwing instead of switching.
Simplify Result implementation using Swift's error throwing instead of switching.

willowtreeapps/PinkyPromise,willowtreeapps/PinkyPromise