Validate that a value is a valid Canton contract ID. Contract IDs are typically in format: hexdigits:hexdigits or just hexdigits.
The value to validate
Dot-notation path for error messages
if the value is not a valid contract ID
Validate that a value is a valid Canton contract ID. Contract IDs are typically in format: hexdigits:hexdigits or just hexdigits.