add `propertyPath` attribute to error class
minor fix