There are laws in place to protect the life of the individual and society, such as traffic laws, and these laws must be adhered to, and it is not permissible to violate them, because of the potential harm to the individual and society. But there are some laws or regulations that are hard to keep up with 100% and that’s why most people will violate them in some way or another at some point. If this happens is it considered a actual sin against God?

We will always do our best, but sometimes things have to be set aside in order to not live a life of constant worry and stress

It is not actual sin against Allah, but it effects your being just.