Second generic parameter to ErrorResponseFactory
Generalize AbstractErrorMessageFactory