Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,161 for ErrorIs (0.16 sec)

  1. docs/ja/docs/tutorial/handling-errors.md

    Alejandra <******@****.***> 1711071731 -0500
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. releasenotes/notes/istioctl-install-errors.yaml

    John Howard <******@****.***> 1629181835 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 17 06:30:35 UTC 2021
    - 165 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/error_test.go

    // license that can be found in the LICENSE file.
    
    // This file implements a regression test harness for syntax errors.
    // The files in the testdata directory are parsed and the reported
    // errors are compared against the errors declared in those files.
    //
    // Errors are declared in place in the form of "error comments",
    // just before (or on the same line as) the offending token.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. src/errors/wrap.go

    //
    // The tree consists of err itself, followed by the errors obtained by repeatedly
    // calling its Unwrap() error or Unwrap() []error method. When err wraps multiple
    // errors, As examines err followed by a depth-first traversal of its children.
    //
    // An error matches target if the error's concrete value is assignable to the value
    // pointed to by target, or if the error has a method As(any) bool such that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:04 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modindex/scan.go

    // representation. A nil error is converted to an empty string, and all other
    // errors are converted to a JSON-marshaled parseError struct, with ErrorList
    // set for errors of type scanner.ErrorList, and ErrorString set to the error's
    // string representation for all other errors.
    func parseErrorToString(err error) string {
    	if err == nil {
    		return ""
    	}
    	var p parseError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/encoding/csv/reader_test.go

    	Errors: []error{errInvalidDelim},
    }, {
    	Name:   "BadComma4",
    	Comma:  utf8.RuneError,
    	Errors: []error{errInvalidDelim},
    }, {
    	Name:    "BadComment1",
    	Comment: '\n',
    	Errors:  []error{errInvalidDelim},
    }, {
    	Name:    "BadComment2",
    	Comment: '\r',
    	Errors:  []error{errInvalidDelim},
    }, {
    	Name:    "BadComment3",
    	Comment: utf8.RuneError,
    	Errors:  []error{errInvalidDelim},
    }, {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 04:25:13 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  7. src/net/net.go

    	Temporary() bool
    }
    
    // Various errors contained in OpError.
    var (
    	// For connection setup operations.
    	errNoSuitableAddress = errors.New("no suitable address found")
    
    	// For connection setup and write operations.
    	errMissingAddress = errors.New("missing address")
    
    	// For both read and write operations.
    	errCanceled         = canceledError{}
    	ErrWriteToConnected = errors.New("use of WriteTo with pre-connected connection")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ExecutionError.java

     * ExecutionException}, the error's {@linkplain #getCause() cause} comes from a failed task,
     * possibly run in another thread. That cause should itself be an {@code Error}; if not, use {@code
     * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to
     * continue to distinguish between exceptions and errors, even when they come from other threads.
     *
     * @author Chris Povirk
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

     * ExecutionException}, the error's {@linkplain #getCause() cause} comes from a failed task,
     * possibly run in another thread. That cause should itself be an {@code Error}; if not, use {@code
     * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to
     * continue to distinguish between exceptions and errors, even when they come from other threads.
     *
     * @author Chris Povirk
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_plan9.go

    package syscall
    
    import (
    	"errors"
    	"internal/oserror"
    	"runtime"
    	"unsafe"
    )
    
    const ImplementsGetwd = true
    const bitSize16 = 2
    
    // ErrorString implements Error's String method by returning itself.
    //
    // ErrorString values can be tested against error values using [errors.Is].
    // For example:
    //
    //	_, _, err := syscall.Syscall(...)
    //	if errors.Is(err, fs.ErrNotExist) ...
    type ErrorString string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top