protobuf
protobuf copied to clipboard
Improve exception message in get_field() for unknown properties
Improves the exception message when a property doesn't exist. Previously, it only mentioned the class name, without actually explaining what property does not exist. I've added a simple test to cover this
Looks like CI is failing?
1) GeneratedClassTest::testUnknownPropertyErrorIncludesPropertyAndClass
Undefined property: Foo\TestMessage::$does_not_exist