This verse means exactly what it says, it does not say transgression of the ten commandments. It defines sin as breaking the law, the whole law that is.
The commandment against sorcery and kidnapping is not a tradition of men. These two sins are simply transgression of the law. Why do you neglect the commandments of God and teach the theology of men?
How is sin defined? How would you know something is sin for you? Should it be for you to know what is sin for others? Here is something to go by, if God spoke against something being done, that being done would be sin, then. God did speak against sorcery, so then, being involved with actual sorcery is wrong for us. For anything which goes against our conscience, this being given to us from God, that which does would be sin, for us. Without something from scriptures that touch on that we are not right to define it as sin for others. Commandments from God in the Bible do show what God spoke against, those things are then sin. Being under the law would have us condemned for any trespass from us, which indeed would have any of us condemned. There is only deliverance from that through Christ who made that possible, it is from God's grace. It should be for deliverance, separating us from sin, which should happen. If God did not show a commandment from God was nullified, it shows sin still to not continue with, while we still are not condemned in Christ, through whom we are not under the law, it is not to free us in the sense that our sins do not matter, Christ still suffered and died for those. We need to be removed from our sins.