added missing error wrappers