STKMesh: Use a better error message instead of crashing