[IMP] Change default code constraints to more clear error message