Add error pretty printer