Called when the requested value is not available or encountered an error when returning.
Called with the appropriate return value on a successful operation.