public function addErrorFlash()
    {
        if ($this->errorMessage) {
            /* @var Session $session */
            $session = Instance::of($this->session)->get();
            $session->addFlash('error', $this->errorMessage);
        }
    }