FIX: correct exception code for InvalidProp