- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 91 for raerror (0.28 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/wait/error.go
// to get an error that will return true for Interrupted(err). var errWaitTimeout = errInterrupted{} func (e errInterrupted) Unwrap() error { return e.cause } func (e errInterrupted) Is(target error) bool { return target == errWaitTimeout } func (e errInterrupted) Error() string { if e.cause == nil { // returns the same error message as historical behavior
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 19:14:11 UTC 2023 - 3K 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) -
staging/src/k8s.io/apimachinery/pkg/runtime/error.go
type strictDecodingError struct { errors []error } // NewStrictDecodingError creates a new strictDecodingError object. func NewStrictDecodingError(errors []error) error { return &strictDecodingError{ errors: errors, } } func (e *strictDecodingError) Error() string { var s strings.Builder s.WriteString("strict decoding error: ") for i, err := range e.errors { if i != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 19 21:24:36 UTC 2021 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LambdaTest.kt
fun `if a lambda is not allowed, a lambda is reported as an error`() { schema.resolve("lambdaNotAllowed(0) { }").isError(ErrorReason.UnresolvedFunctionCallSignature::class) } private fun ResolutionResult.isSuccessful() { assertTrue { errors.isEmpty() } assertTrue { additions.size == 1 } } private fun ResolutionResult.isError(errorReason: KClass<out ErrorReason>) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 26 12:27:49 UTC 2024 - 2.6K bytes - Viewed (0) -
pkg/scheduler/framework/interface_test.go
} if test.status.AsError() == test.expectedAsError { return } if test.status.AsError().Error() != test.expectedAsError.Error() { t.Errorf("expect status.AsError() returns %v, but %v", test.expectedAsError, test.status.AsError()) } }) } } func TestPreFilterResultMerge(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Oct 22 04:41:59 UTC 2023 - 7.3K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller_test.go
} return true, pvc, nil }) err = expController.syncHandler(context.TODO(), test.pvcKey) if err != nil && !test.hasError { t.Fatalf("for: %s; unexpected error while running handler : %v", test.name, err) } if err == nil && test.hasError { t.Fatalf("for: %s; unexpected success", test.name) } if expansionCalled != test.expansionCalled {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 7.9K bytes - Viewed (0) -
src/syscall/types_illumos_amd64.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build illumos // Illumos consts not present on Solaris. These are added manually rather than // auto-generated by mkerror.sh package syscall const ( LOCK_EX = 0x2 LOCK_NB = 0x4 LOCK_SH = 0x1 LOCK_UN = 0x8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 379 bytes - Viewed (0) -
src/text/template/option.go
type missingKeyAction int const ( mapInvalid missingKeyAction = iota // Return an invalid reflect.Value. mapZeroValue // Return the zero value for the map element. mapError // Error out ) type option struct { missingKey missingKeyAction } // Option sets options for the template. Options are described by // strings, either a simple string or "key=value". There can be at
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.9K bytes - Viewed (0) -
src/plugin/plugin_dlopen.go
if (h == NULL) { *err = (char*)dlerror(); } return (uintptr_t)h; } static void* pluginLookup(uintptr_t h, const char* name, char** err) { void* r = dlsym((void*)h, name); if (r == NULL) { *err = (char*)dlerror(); } return r; } */ import "C" import ( "errors" "sync" "unsafe" ) func open(name string) (*Plugin, error) { cPath := make([]byte, C.PATH_MAX+1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 16:55:22 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main4.c
if (handle == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (verbose) { fprintf(stderr, "calling dlsym\n"); } // Start some goroutines. fn = (void(*)(void))dlsym(handle, "RunGoroutines"); if (fn == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (verbose) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 4.2K bytes - Viewed (0)