Error provides a mechanism for collecting errors from deferred
functions. The mechanism executes all deferred functions
irrespective of their return value, returning the first error it
encounters or nil if no error is encountered.
Errors provides a mechanism for collecting errors from deferred
functions. The mechanism executes all deferred functions
irrespective of their return value, collecting all the errors it
encounters.