protected function resolve_flash_errors( $name ) {
		if ( ! $this->session ) {
			return;
		}

		if ( ! $this->session->get( $name ) instanceof WP_Error ) {
			return;
		}

		$this->errors = new WP_Error;

		/* @var $errors \WP_Error */
		$errors = $this->session->get( $name );

		foreach ( $errors->errors as $key => $error ) {
			$this->add_error( $key, $error );
		}
	}