Add errorHanlerFactory (for a short creating AppError instance)
Add argument, options in AppError constructor