/**
  * Used to determine the last error in a session.
  *
  * In your controller: $this->Session->error();
  *
  * @return string Last session error
  */
 public function error()
 {
     return Session::error();
 }