Add custom ValidationError exception type to validator module

[#41019647]
Add validate method in DNA properties

[#41019647]
Implement dynamic DNA code validation in DNA edit dialog

[#41019647]