Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for goerrors (0.17 sec)

  1. src/fmt/errors.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fmt
    
    import (
    	"errors"
    	"slices"
    )
    
    // Errorf formats according to a format specifier and returns the string as a
    // value that satisfies error.
    //
    // If the format specifier includes a %w verb with an error operand,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. internal/kms/errors.go

    Andreas Auernhammer <******@****.***> 1715126137 +0200
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. 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)
  4. cmd/typed-errors.go

    package cmd
    
    import (
    	"errors"
    )
    
    // errInvalidArgument means that input argument is invalid.
    var errInvalidArgument = errors.New("Invalid arguments specified")
    
    // errMethodNotAllowed means that method is not allowed.
    var errMethodNotAllowed = errors.New("Method not allowed")
    
    // errSignatureMismatch means signature did not match.
    var errSignatureMismatch = errors.New("Signature does not match")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    The status codes in the 400 range mean that there was an error from the client.
    
    Remember all those **"404 Not Found"** errors (and jokes)?
    
    ## Use `HTTPException`
    
    To return HTTP responses with errors to the client you use `HTTPException`.
    
    ### Import `HTTPException`
    
    ```Python hl_lines="1"
    {!../../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/cpumanager/policy_options_test.go

    			policyOpt, _ := NewStaticPolicyOptions(testCase.policyOption)
    			err := ValidateStaticPolicyOptions(policyOpt, testCase.topology, topoMgrStore)
    			gotError := (err != nil)
    			if gotError != testCase.expectedErr {
    				t.Errorf("testCase %q failed, got %v expected %v", testCase.description, gotError, testCase.expectedErr)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(active.isEmpty());
            assertEquals(1, problems.getErrors().size());
            assertEquals(
                    "Failed to determine activation for profile one: BOOM",
                    problems.getErrors().get(0));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. pkg/kubelet/util/util_windows_test.go

    	expectedAddress := "//./pipe/kubelet-pod-resources"
    
    	fullPath, err := LocalEndpoint(`pod-resources`, "kubelet")
    	require.NoErrorf(t, err, "Failed to create the local endpoint path")
    
    	address, dialer, err := util.GetAddressAndDialer(fullPath)
    	require.NoErrorf(t, err, "Failed to parse the endpoint path and get back address and dialer (path=%q)", fullPath)
    
    	dialerPointer := reflect.ValueOf(dialer).Pointer()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pkg/util/filesystem/util_windows_test.go

    	pipeln, err := winio.ListenPipe(testFile, &winio.PipeConfig{SecurityDescriptor: "D:P(A;;GA;;;BA)(A;;GA;;;SY)"})
    	defer pipeln.Close()
    
    	require.NoErrorf(t, err, "Failed to listen on named pipe for test purposes: %v", err)
    	result, err := IsUnixDomainSocket(testFile)
    	assert.NoError(t, err, "Unexpected error from IsUnixDomainSocket.")
    	assert.False(t, result, "Unexpected result: true from IsUnixDomainSocket.")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:10:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
    
            assertFalse(activator.isActive(new org.apache.maven.model.Profile(profile), context, problems));
    
            assertEquals(0, problems.getErrors().size());
            assertEquals(1, problems.getWarnings().size());
            assertTrue(problems.getWarnings().get(0).contains(warningContains));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top