Improved error message
This commit is contained in:
parent
c80dfcfff2
commit
8105e4637c
1 changed files with 4 additions and 2 deletions
|
@ -217,8 +217,10 @@ Foam::plane::plane(const dictionary& dict)
|
||||||
"plane::plane(const dictionary&)",
|
"plane::plane(const dictionary&)",
|
||||||
dict
|
dict
|
||||||
)
|
)
|
||||||
<< "Invalid plane type: " << planeType
|
<< "Invalid plane type: " << planeType << nl
|
||||||
<< abort(FatalIOError);
|
<< "Valid types are planeEquation, embeddedPoints "
|
||||||
|
<< "and pointAndNormal"
|
||||||
|
<< abort(FatalIOError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue