Add in severity property to errors