add potentially error code