Added assertions for `extra.errorProperties`