A function that is called when an error occurs.
An object holding details about the error that occurred.
Online Documentation