GitRemoteUnreachableException class Errors
The remote host could not be reached.
Raised by GitFileClient.clone, fetch and push when git reports a
connection-level failure: an unknown host, a refused connection, a timed
out connection, or an SSH host key that could not be verified. The
underlying failure is carried in cause.
- Inheritance
-
- Object
- GitException
- GitRemoteUnreachableException
Constructors
- GitRemoteUnreachableException({required GitException cause})
-
Creates the failure from the
causethat reported the connection.
Properties
- cause → GitException
-
The underlying engine failure that reported the unreachable host.
final
- diagnostic → String
-
Complete technical text of the failure.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description of what went wrong.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
diagnosticAtDepth(
int depth) → String -
Builds diagnostic starting
depthfailures into the cause chain.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited