The Bond and Undertaking Law (CCP Title 14, Chapter 2) applies to a bond given in Writs of Attachment unless otherwise prescribed.