lets say, I put an error into the session:
<?php
$this->flash->error("too bad! the form had errors");
$this->flash->success("yes!, everything went very smoothly");
and when I want to get error ONLY:
<?phpecho $this->flash->message('error');
I found that "success" is also gets removed however I only wanted to get+clear "error"