system / fix flashmessenger warning / cannot mix flashMessenger() args

https://github.com/pi-engine/pi/commit/f57f86003126f5256b5b6a0280a9b7978e28032b
: improved code readability but added a regression on message display. Only first check is displayed.
In the same class, we can not mix error and warning  :  it breaks the clas{} returned message
display => i revert from "warning" to "error" to have consistency with other security checks.