{"modulePath":"github.phpd.cn/openshift/origin","version":"v4.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\nPackage errors provides utility functions for various errors\n\n## Functions\n\n```go\nfunc ErrorToSentence(err error) string\n```\nErrorToSentence will capitalize the first letter of the error message and add a period to the end if one is not present.\n\n```go\nfunc IsTimeoutErr(err error) bool\n```\nIsTimeoutErr returns true if the error indicates timeout\n\n```go\nfunc SyncStatusError(ctx context.Context, err error) error\n```\nSyncStatusError makes a best effort attempt to replace the GroupResource info in err with the data from the request info of ctx.\n\n```go\nfunc TolerateNotFoundError(err error) error\n```\nTolerateNotFoundError tolerates 'not found' errors\n\n","path":"github.phpd.cn/openshift/origin/pkg/util/errors","name":"errors","synopsis":"Package errors provides utility functions for various errors","isRedistributable":true}
