GitInvalidObjectException class Errors

The content handed to GitObjectWriter.writeObject was refused.

Raised when GitObjectWriter.writeObject cannot store the serialized content as a valid object of the requested type. The underlying engine failure that refused it is carried in cause.

Inheritance

Constructors

GitInvalidObjectException({required GitObjectType type, required GitException cause})
Creates the refusal of type from the cause that reported it.

Properties

cause → GitException
Underlying engine failure that refused the content.
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
type → GitObjectType
Type of the object the content was meant to be.
final

Methods

diagnosticAtDepth(int depth) → String
Builds diagnostic starting depth failures 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