server module internal error handler