The HandlerRegistry tries to determine the method based on the type and format. When the type is a FormInterface, the resulting method would be serializeFormInterfaceToJson, but as this method currently does not exist in the FormErrorHandler an error is thrown.
Adding a proper method definition to the subscribing methods for the FormInterface type resolves this issue.
The
HandlerRegistry
tries to determine the method based on the type and format. When the type is aFormInterface
, the resulting method would beserializeFormInterfaceToJson
, but as this method currently does not exist in theFormErrorHandler
an error is thrown.Adding a proper
method
definition to the subscribing methods for theFormInterface
type resolves this issue.