add tryError, withError, handleError, mapError (#60) (#66)