[BUGFIX] Add error message via single slot dispatcher not possible

Functions setErrorAndMessage() and isServerValidationEnabled() are changed to public

related: #62097