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&)",
|
||||
dict
|
||||
)
|
||||
<< "Invalid plane type: " << planeType
|
||||
<< abort(FatalIOError);
|
||||
<< "Invalid plane type: " << planeType << nl
|
||||
<< "Valid types are planeEquation, embeddedPoints "
|
||||
<< "and pointAndNormal"
|
||||
<< abort(FatalIOError);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue