AER_GET_LAYER_ERROR
layer = AER_GET_LAYER_ERROR(info->severity, info->status);
layer = AER_GET_LAYER_ERROR(aer_severity, status);