error defs