/* The Xilinx errors that must be handled by the callback are: */
void XEmac_SetErrorHandler(XEmac *InstancePtr, void *CallBackRef, XEmac_ErrorHandler FuncPtr)
/* The Xilinx errors that must be handled by the callback are: */
void XEmac_SetErrorHandler(XEmac *InstancePtr, void *CallBackRef, XEmac_ErrorHandler FuncPtr)
{
	XASSERT_VOID(InstancePtr != NULL);
	XASSERT_VOID(FuncPtr != NULL);
	XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);
	InstancePtr->ErrorHandler = FuncPtr;
	InstancePtr->ErrorRef = CallBackRef;
}