Wraps a function, suppresses node-style errors, and surfaces them in the value.