GitRefMismatchException class Errors
A ref update was rejected because the ref held a value other than the one the caller expected.
Raised by GitRefs.updateRef and GitRefs.deleteRef when an expectedOld
value does not match the ref's current target. The underlying engine
failure that rejected the update is carried in cause when there is one.
- Inheritance
-
- Object
- GitException
- GitRefMismatchException
Constructors
- GitRefMismatchException({GitException? cause})
-
Creates the failure from the
causethat rejected the update.
Properties
- cause → GitException?
-
The underlying engine failure that rejected the update.
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