- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of about 10,000 for errorT (0.12 sec)
-
src/os/error.go
return underlyingErrorIs(err, ErrExist) } // IsNotExist returns a boolean indicating whether the error is known to // report that a file or directory does not exist. It is satisfied by // [ErrNotExist] as well as some syscall errors. // // This function predates [errors.Is]. It only supports errors returned by // the os package. New code should use errors.Is(err, fs.ErrNotExist). func IsNotExist(err error) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/errors.go
haveABI = abi } } } // Give a special error message for main symbol (see #24809). if name == "main.main" { reporter.Errorf(s, "function main is undeclared in the main package") } else if haveABI != ^obj.ABI(0) { reporter.Errorf(s, "relocation target %s not defined for %s (but is defined for %s)", name, reqABI, haveABI) } else { reporter.Errorf(s, "relocation target %s not defined", name) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:38:08 UTC 2022 - 1.9K bytes - Viewed (0) -
internal/bucket/replication/error.go
package replication import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/error.go
os.Exit(code) } // CheckErr prints a user friendly error to STDERR and exits with a non-zero // exit code. Unrecognized errors will be printed with an "error: " prefix. // // This method is generic to the command in use and may be used by non-Kubectl // commands. func CheckErr(err error) { checkErr(err, fatal) } // preflightError allows us to know if the error is a preflight error or not
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:35:10 UTC 2023 - 3.4K bytes - Viewed (0) -
errors.go
// ErrSubQueryRequired sub query required ErrSubQueryRequired = errors.New("sub query required") // ErrInvalidData unsupported data ErrInvalidData = errors.New("unsupported data") // ErrUnsupportedDriver unsupported driver ErrUnsupportedDriver = errors.New("unsupported driver") // ErrRegistered registered ErrRegistered = errors.New("registered")
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Apr 26 02:53:17 UTC 2024 - 2.5K bytes - Viewed (0) -
security/pkg/pki/error/error.go
CertGenError // CAIllegalConfig means the configuration/deployment parameters for CA are incorrect CAIllegalConfig // CAInitFail means some other unexpected and fatal initilization failure CAInitFail ) // Error encapsulates the short and long errors. type Error struct { t ErrType err error } // Error returns the string error message. func (e Error) Error() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 13 17:41:21 UTC 2020 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go
utilerrors "k8s.io/apimachinery/pkg/util/errors" "k8s.io/apimachinery/pkg/util/sets" ) // Error is an implementation of the 'error' interface, which represents a // field-level validation error. type Error struct { Type ErrorType Field string BadValue interface{} Detail string } var _ error = &Error{} // Error implements the error interface. func (v *Error) Error() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 11.1K bytes - Viewed (0) -
pkg/network/error.go
// limitations under the License. package network import ( "errors" "net" "net/http" ) func IsUnexpectedListenerError(err error) bool { if err == nil { return false } if errors.Is(err, net.ErrClosed) { return false } if errors.Is(err, http.ErrServerClosed) { return false } return true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 21 08:25:27 UTC 2023 - 858 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/error.go
import ( "fmt" apierrors "k8s.io/apimachinery/pkg/api/errors" ) // ErrCallingWebhook is returned for transport-layer errors calling webhooks. It // represents a failure to talk to the webhook, not the webhook rejecting a // request. type ErrCallingWebhook struct { WebhookName string Reason error Status *apierrors.StatusError } func (e *ErrCallingWebhook) Error() string { if e.Reason != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 05 18:36:22 UTC 2021 - 1.4K bytes - Viewed (0) -
pkg/kubelet/errors.go
limitations under the License. */ package kubelet import "errors" const ( // NetworkNotReadyErrorMsg is used to describe the error that network is not ready NetworkNotReadyErrorMsg = "network is not ready" ) var ( // ErrNetworkUnknown indicates the network state is unknown ErrNetworkUnknown = errors.New("network state unknown")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 02:40:51 UTC 2019 - 876 bytes - Viewed (0)