Customize the WAF error pages (Sophos XG Firewall)

How to customize the WAF error pages that is shown while encountering HTTP 4xx and 5xx errors?