minor
improve send error definitions