The exception codes are inconsistent among string/symbol (21), code w/ and w/o scope (24), and DBPointer (3); however, it's not within the scope of this issue to correct it, so I expect the existing values here.