- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,236 for Oerrors (0.46 sec)
-
src/internal/oserror/errors.go
// Package oserror defines errors values used in the os package. // // These types are defined here to permit the syscall package to reference them. package oserror import "errors" var ( ErrInvalid = errors.New("invalid argument") ErrPermission = errors.New("permission denied") ErrExist = errors.New("file already exists") ErrNotExist = errors.New("file does not exist")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 02 17:57:18 UTC 2019 - 601 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/errors/errors.go
type Matcher func(error) bool // FilterOut removes all errors that match any of the matchers from the input // error. If the input is a singular error, only that error is tested. If the // input implements the Aggregate interface, the list of errors will be // processed recursively. // // This can be used, for example, to remove known-OK errors (such as io.EOF or // os.PathNotFound) from a list of errors.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 29 09:44:02 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/errors.go
func NewInvalidError(errors field.ErrorList) InvalidError { return InvalidError{errors} } // InternalError is generated when an error occurs in the storage package, i.e., // not from the underlying storage backend (e.g., etcd). type InternalError struct { Reason string } func (e InternalError) Error() string { return e.Reason } // IsInternalError returns true if and only if err is an InternalError.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 08 15:39:10 UTC 2023 - 5.9K bytes - Viewed (0) -
internal/grid/errors.go
package grid import ( "errors" "fmt" ) var ( // ErrUnknownHandler is returned when an unknown handler is requested. ErrUnknownHandler = errors.New("unknown mux handler") // ErrHandlerAlreadyExists is returned when a handler is already registered. ErrHandlerAlreadyExists = errors.New("mux handler already exists")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/errors.go
limitations under the License. */ package etcd3 import ( "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apiserver/pkg/storage" etcdrpc "go.etcd.io/etcd/api/v3/v3rpc/rpctypes" utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) func interpretWatchError(err error) error { switch { case err == etcdrpc.ErrCompacted: return errors.NewResourceExpired("The resourceVersion for the provided watch is too old.") } return err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 15:59:41 UTC 2022 - 2.5K bytes - Viewed (0) -
src/go/types/errors.go
// An errorDesc describes part of a type-checking error. type errorDesc struct { posn positioner msg string } // An error_ represents a type-checking error. // A new error_ is created with Checker.newError. // To report an error_, call error_.report. type error_ struct { check *Checker desc []errorDesc code Code soft bool // TODO(gri) eventually determine this from an error code }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/kubelet/checkpointmanager/errors/errors.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 16 05:30:20 UTC 2018 - 886 bytes - Viewed (0) -
pkg/kubelet/cm/admission/errors.go
package admission import ( "errors" "fmt" "k8s.io/kubernetes/pkg/kubelet/lifecycle" ) const ( ErrorReasonUnexpected = "UnexpectedAdmissionError" ) type Error interface { Error() string Type() string } type unexpectedAdmissionError struct{ Err error } var _ Error = (*unexpectedAdmissionError)(nil) func (e *unexpectedAdmissionError) Error() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 08 21:15:37 UTC 2021 - 1.4K bytes - Viewed (0) -
src/internal/types/testdata/check/errors.go
func _() { 0 /* ERRORx "0 .* is not used" */ 0 /* ERRORx "0 .* is not used" */ 0 // ERRORx "0 .* is not used" 0 // ERRORx "0 .* is not used" } // Don't report spurious errors as a consequence of earlier errors. // Add more tests as needed. func _() { if err := foo /* ERROR "undefined" */ (); err != nil /* "no error here" */ {} } // Use unqualified names for package-local objects. type T struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 2.2K bytes - Viewed (0) -
src/go/scanner/errors.go
"fmt" "go/token" "io" "sort" ) // In an [ErrorList], an error is represented by an *Error. // The position Pos, if valid, points to the beginning of // the offending token, and the error condition is described // by Msg. type Error struct { Pos token.Position Msg string } // Error implements the error interface. func (e Error) Error() string { if e.Pos.Filename != "" || e.Pos.IsValid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3K bytes - Viewed (0)