Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of about 10,000 for error5 (4.58 sec)

  1. src/runtime/error.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/bytealg"
    )
    
    // The Error interface identifies a run time error.
    type Error interface {
    	error
    
    	// RuntimeError is a no-op function but
    	// serves to distinguish types that are run time
    	// errors from ordinary errors: a type is a
    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/go/doc/testdata/error1.0.golden

    // 
    PACKAGE error1
    
    IMPORTPATH
    	testdata/error1
    
    FILENAMES
    	testdata/error1.go
    
    TYPES
    	// 
    	type I0 interface {
    		// When embedded, the predeclared error interface
    		// must remain visible in interface types.
    		error
    	}
    
    	// 
    	type S0 struct {
    		// contains filtered or unexported fields
    	}
    
    	// 
    	type T0 struct {
    		ExportedField interface {
    			// error should be visible
    			error
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 390 bytes
    - Viewed (0)
  3. src/go/doc/testdata/error1.2.golden

    // 
    PACKAGE error1
    
    IMPORTPATH
    	testdata/error1
    
    FILENAMES
    	testdata/error1.go
    
    TYPES
    	// 
    	type I0 interface {
    		// When embedded, the predeclared error interface
    		// must remain visible in interface types.
    		error
    	}
    
    	// 
    	type S0 struct {
    		// contains filtered or unexported fields
    	}
    
    	// 
    	type T0 struct {
    		ExportedField interface {
    			// error should be visible
    			error
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 390 bytes
    - Viewed (0)
  4. src/html/template/error.go

    	}
    	return "html/template: " + e.Description
    }
    
    // errorf creates an error given a format string f and args.
    // The template Name still needs to be supplied.
    func errorf(k ErrorCode, node parse.Node, line int, f string, args ...any) *Error {
    	return &Error{k, node, "", line, fmt.Sprintf(f, args...)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/errors/errors.go

    // Unwrap method to return an []error containing a nil error value.
    //
    // An easy way to create wrapped errors is to call [fmt.Errorf] and apply
    // the %w verb to the error argument:
    //
    //	wrapsErr := fmt.Errorf("... %w ...", ..., err, ...)
    //
    // Successive unwrapping of an error creates a tree. The [Is] and [As]
    // functions inspect an error's tree by examining first the error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. cmd/typed-errors.go

    // error returned when temporary account is not found
    var errNoSuchTempAccount = errors.New("Specified temporary account does not exist")
    
    // error returned in IAM subsystem when an account doesn't exist.
    var errNoSuchAccount = errors.New("Specified account does not exist")
    
    // error returned in IAM subsystem when groups doesn't exist.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. cmd/storage-errors.go

    var errDoneForNow = errors.New("done for now")
    
    // errSkipFile returned by the fn() for readDirFn() when it needs
    // to proceed to next entry.
    var errSkipFile = errors.New("skip this file")
    
    var errIgnoreFileContrib = errors.New("ignore this file's contribution toward data-usage")
    
    // errXLBackend XL drive mode requires fresh deployment.
    var errXLBackend = errors.New("XL backend requires fresh drive")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. internal/kms/errors.go

    	}
    )
    
    // Error is a KMS error that can be translated into an S3 API error.
    //
    // It does not implement the standard error Unwrap interface for
    // better error log messages.
    type Error struct {
    	Code    int    // The HTTP status code returned to the client
    	APICode string // The API error code identifying the error
    	Err     string // The error message returned to the client
    	Cause   error  // Optional, lower level error cause.
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. internal/event/errors.go

    }
    
    // ErrInvalidFilterName - invalid filter name error.
    type ErrInvalidFilterName struct {
    	FilterName string
    }
    
    func (err ErrInvalidFilterName) Error() string {
    	return fmt.Sprintf("invalid filter name '%v'", err.FilterName)
    }
    
    // ErrFilterNamePrefix - more than one prefix usage error.
    type ErrFilterNamePrefix struct{}
    
    func (err ErrFilterNamePrefix) Error() string {
    	return "more than one prefix in filter rule"
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    // errors returned by underlying layers.
    func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
    	if err == nil {
    		return ErrNone
    	}
    
    	// Errors that are generated by net.Conn and any context errors must be handled here.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
Back to top