Extend error definitions