Function default_on_error(errtype, err) local function.

Fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match value.