26.6 Dealing with failure
safely()
- designed to work with map
result
is the original result. If there was an error, this will beNULL
.error
is an error object. If the operation was successful, this will beNULL
.
possibly()
- you give it a default value to return when there is an error.
quietly()
- instead of capturing errors, it captures printed output, messages, and warnings.