KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGIT_FAILURE_CONTEXT Struct Reference

What the failed operation was doing, as far as the message needs it. More...

#include <kigit_failure.h>

Public Attributes

KIGIT_OPERATION operation = KIGIT_OPERATION::CONNECT
 
wxString remoteName
 Empty when the operation has no named remote, as for a clone.
 
wxString url
 The address connected to. Messages show only its host and its stripped form.
 
bool authFailed = false
 The credential callback had nothing left to offer.
 
std::optional< KIGIT::HOST_KEY_FAILURE > hostKey
 The host key the operation refused, if any.
 
wxString hostKeyRefusal
 Why a key that cannot be trusted was refused.
 
wxString pushRefusal
 The status the server gave a refused branch.
 
wxString serverMessage
 Text the server sent for the user.
 

Detailed Description

What the failed operation was doing, as far as the message needs it.

Definition at line 78 of file kigit_failure.h.

Member Data Documentation

◆ authFailed

bool KIGIT_FAILURE_CONTEXT::authFailed = false

The credential callback had nothing left to offer.

Definition at line 83 of file kigit_failure.h.

Referenced by classifyGitFailure(), and KIGIT_REPO_MIXIN::ReportTransferFailure().

◆ hostKey

std::optional<KIGIT::HOST_KEY_FAILURE> KIGIT_FAILURE_CONTEXT::hostKey

The host key the operation refused, if any.

Definition at line 85 of file kigit_failure.h.

Referenced by classifyGitFailure(), and KIGIT_REPO_MIXIN::ReportTransferFailure().

◆ hostKeyRefusal

wxString KIGIT_FAILURE_CONTEXT::hostKeyRefusal

Why a key that cannot be trusted was refused.

Definition at line 86 of file kigit_failure.h.

Referenced by classifyGitFailure(), and KIGIT_REPO_MIXIN::ReportTransferFailure().

◆ operation

◆ pushRefusal

wxString KIGIT_FAILURE_CONTEXT::pushRefusal

The status the server gave a refused branch.

Definition at line 87 of file kigit_failure.h.

Referenced by classifyGitFailure(), and KIGIT_REPO_MIXIN::ReportTransferFailure().

◆ remoteName

wxString KIGIT_FAILURE_CONTEXT::remoteName

Empty when the operation has no named remote, as for a clone.

Definition at line 81 of file kigit_failure.h.

Referenced by KIGIT_REPO_MIXIN::ReportTransferFailure(), and LIBGIT_BACKEND::SetupRemote().

◆ serverMessage

wxString KIGIT_FAILURE_CONTEXT::serverMessage

Text the server sent for the user.

Definition at line 88 of file kigit_failure.h.

Referenced by KIGIT_REPO_MIXIN::ReportTransferFailure().

◆ url

wxString KIGIT_FAILURE_CONTEXT::url

The address connected to. Messages show only its host and its stripped form.

Definition at line 82 of file kigit_failure.h.

Referenced by DIALOG_GIT_REPOSITORY::OnTestClick(), KIGIT_REPO_MIXIN::ReportTransferFailure(), LIBGIT_BACKEND::SetupRemote(), and KIGIT::UnexplainedFailure().


The documentation for this struct was generated from the following file: