improve error message
This commit is contained in:
parent
e5a709e8e8
commit
94895fe877
|
@ -1244,7 +1244,7 @@ public class FHIRPathEngine {
|
||||||
result.update(executeType(s, exp, atEntry));
|
result.update(executeType(s, exp, atEntry));
|
||||||
}
|
}
|
||||||
if (result.hasNoTypes())
|
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;
|
break;
|
||||||
case Function:
|
case Function:
|
||||||
|
|
Loading…
Reference in New Issue