When I get a binding error in WPF, there is an error code that goes with it.
For example,
System.Windows.Data Error: 40 : BindingExpression path error: 'Product' property not found on 'object' ''ProductModel' (HashCode=57788087)'. BindingExpression:Path=Product; DataItem='ProductModel' (HashCode=57788087); target element is 'TextBox' (Name=''); target property is 'Text' (type 'String')
or
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
What do these error codes represent, and where can I find a list of them?