Answer:
It is termed as a violation.
Step-by-step explanation:
In legal terms, a violation is defined as any act which has failed to abide by existing laws. These laws can be of a state, the federal government, or a local jurisdiction.
Crime and offence when conducted do violate the law but not every violation is a crime or an offence.
Wrongdoing can occur even without being illegal such as a moral wrongdoing.