ref: 3ce59c3248dec0eb0f918c42f37f53bc2ac20425
dir: /errors/missing.go/
package errors
import (
"fmt"
objectid "codeberg.org/lindenii/furgit/object/id"
)
// ObjectMissingError indicates that a referenced object is absent from the
// repository object store.
type ObjectMissingError struct {
OID objectid.ObjectID
}
// Error implements error.
func (e *ObjectMissingError) Error() string {
return fmt.Sprintf("missing object %s", e.OID)
}