toErrorFunctionRegistry

Converts the error function registry into executable message functions.

This method creates a map of error types to their corresponding message functions for error handling.

Return

A map of error classes to their message functions.

Parameters

commandAggregate

The command aggregate instance to bind functions to.