Foxx: New Version of the errorResponse function
Foxx: Optional fourth parameter for errorHandler for ellaborate hackers