This macro copies the error information from the client handle to the structure referenced by errp. The macro is mainly for diagnostic use.