Generally, no! Unlike the bond, insurance cannot usually cover code violations. Public policy generally does not permit a person to insure against his own violations of law or regulation. Accordingly, a bond is needed to protect the public from this sort of violation, just as insurance is needed to protect against accidental acts or omissions. Liability insurance and surety bonds are both important tools for the protection of consumers who deal with regulated trades and businesses, although they perform different services.