Source File
error.go
Belonging Package
github.com/go-git/go-git/v5/plumbing
package plumbing
import
type PermanentError struct {
Err error
}
func ( error) *PermanentError {
if == nil {
return nil
}
return &PermanentError{Err: }
}
func ( *PermanentError) () string {
return fmt.Sprintf("permanent client error: %s", .Err.Error())
}
type UnexpectedError struct {
Err error
}
func ( error) *UnexpectedError {
if == nil {
return nil
}
return &UnexpectedError{Err: }
}
func ( *UnexpectedError) () string {
return fmt.Sprintf("unexpected client error: %s", .Err.Error())
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |