improve error message

This commit is contained in:
Grahame Grieve 2019-12-18 11:30:56 +11:00
parent e5a709e8e8
commit 94895fe877
1 changed files with 1 additions and 1 deletions

View File

@ -1244,7 +1244,7 @@ public class FHIRPathEngine {
result.update(executeType(s, exp, atEntry));
}
if (result.hasNoTypes())
throw new PathEngineException("The name "+exp.getName()+" is not valid for any of the possible types: "+focus.describe());
throw new PathEngineException("The name '"+exp.getName()+"' is not valid for any of the possible types: "+focus.describe());
}
break;
case Function: