Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for error1 (0.09 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/errors.go

    limitations under the License.
    */
    
    package cel
    
    // Error is an implementation of the 'error' interface, which represents a
    // XValidation error.
    type Error struct {
    	Type   ErrorType
    	Detail string
    }
    
    var _ error = &Error{}
    
    // Error implements the error interface.
    func (v *Error) Error() string {
    	return v.Detail
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. internal/s3select/csv/errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import "errors"
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/error.go

    //	} else ...
    func Interrupted(err error) bool {
    	switch {
    	case errors.Is(err, errWaitTimeout),
    		errors.Is(err, context.Canceled),
    		errors.Is(err, context.DeadlineExceeded):
    		return true
    	default:
    		return false
    	}
    }
    
    // errInterrupted
    type errInterrupted struct {
    	cause error
    }
    
    // ErrorInterrupted returns an error that indicates the wait was ended
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. pkg/controller/util/endpointslice/errors.go

    */
    
    package endpointslice
    
    // StaleInformerCache errors indicate that the informer cache includes out of
    // date resources.
    type StaleInformerCache struct {
    	msg string
    }
    
    // NewStaleInformerCache return StaleInformerCache with error mes
    func NewStaleInformerCache(msg string) *StaleInformerCache {
    	return &StaleInformerCache{msg}
    }
    
    func (e *StaleInformerCache) Error() string { return e.msg }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 14 07:15:35 UTC 2021
    - 1K bytes
    - Viewed (0)
  5. 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 {
    			s.WriteString(", ")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  6. 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)
  7. src/os/error.go

    	return underlyingErrorIs(err, ErrExist)
    }
    
    // IsNotExist returns a boolean indicating whether the error is known to
    // report that a file or directory does not exist. It is satisfied by
    // [ErrNotExist] as well as some syscall errors.
    //
    // This function predates [errors.Is]. It only supports errors returned by
    // the os package. New code should use errors.Is(err, fs.ErrNotExist).
    func IsNotExist(err error) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/errors.go

    					haveABI = abi
    				}
    			}
    		}
    
    		// Give a special error message for main symbol (see #24809).
    		if name == "main.main" {
    			reporter.Errorf(s, "function main is undeclared in the main package")
    		} else if haveABI != ^obj.ABI(0) {
    			reporter.Errorf(s, "relocation target %s not defined for %s (but is defined for %s)", name, reqABI, haveABI)
    		} else {
    			reporter.Errorf(s, "relocation target %s not defined", name)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:38:08 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. cmd/kubeadm/app/util/error.go

    	os.Exit(code)
    }
    
    // CheckErr prints a user friendly error to STDERR and exits with a non-zero
    // exit code. Unrecognized errors will be printed with an "error: " prefix.
    //
    // This method is generic to the command in use and may be used by non-Kubectl
    // commands.
    func CheckErr(err error) {
    	checkErr(err, fatal)
    }
    
    // preflightError allows us to know if the error is a preflight error or not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top