Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 168 for errorCh (0.14 sec)

  1. src/cmd/compile/internal/types2/errors.go

    // An errorDesc describes part of a type-checking error.
    type errorDesc struct {
    	pos syntax.Pos
    	msg string
    }
    
    // An error_ represents a type-checking error.
    // A new error_ is created with Checker.newError.
    // To report an error_, call error_.report.
    type error_ struct {
    	check *Checker
    	desc  []errorDesc
    	code  Code
    	soft  bool // TODO(gri) eventually determine this from an error code
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/go/doc/testdata/error2.go

    // license that can be found in the LICENSE file.
    
    package error2
    
    type I0 interface {
    	// When embedded, the locally-declared error interface
    	// is only visible if all declarations are shown.
    	error
    }
    
    type T0 struct {
    	ExportedField interface {
    		// error should not be visible
    		error
    	}
    }
    
    type S0 struct {
    	// In struct types, an embedded error must only be visible
    	// if AllDecls is set.
    	error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 618 bytes
    - Viewed (0)
  3. pkg/kubelet/checkpointmanager/errors/errors.go

    limitations under the License.
    */
    
    package errors
    
    import "fmt"
    
    // ErrCorruptCheckpoint error is reported when checksum does not match
    var ErrCorruptCheckpoint = fmt.Errorf("checkpoint is corrupted")
    
    // ErrCheckpointNotFound is reported when checkpoint is not found for a given key
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 16 05:30:20 UTC 2018
    - 886 bytes
    - Viewed (0)
  4. internal/s3select/simdj/errors.go

    	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 {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    	return err.message
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // Error is an implementation of the 'error' interface, which represents a
    // field-level validation error.
    type Error struct {
    	Type     ErrorType
    	Field    string
    	BadValue interface{}
    	Detail   string
    }
    
    var _ error = &Error{}
    
    // Error implements the error interface.
    func (v *Error) Error() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_issue6480.txt

    cmp errors.test$GOEXE errors2.test # // errors2.test has no exeSuffix because -o above doesn't have it
    
    # Check errors.test mtime is updated
    exec $GOBIN/now
    cp stdout start_time.txt
    go test -x -c -test.bench=XXX errors
    ! stderr '[\\/]link|gccgo' # make sure up-to-date test binary is not relinked
    exec $GOBIN/mtime errors.test$GOEXE
    cp stdout errors1_mod_time.txt
    exec $GOBIN/before start_time.txt errors1_mod_time.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. pkg/controller/garbagecollector/errors.go

    limitations under the License.
    */
    
    package garbagecollector
    
    import (
    	"fmt"
    )
    
    type restMappingError struct {
    	kind    string
    	version string
    }
    
    func (r *restMappingError) Error() string {
    	versionKind := fmt.Sprintf("%s/%s", r.version, r.kind)
    	return fmt.Sprintf("unable to get REST mapping for %s.", versionKind)
    }
    
    // Message prints more details
    func (r *restMappingError) Message() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 28 14:00:10 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  8. src/go/types/errors.go

    // An errorDesc describes part of a type-checking error.
    type errorDesc struct {
    	posn positioner
    	msg  string
    }
    
    // An error_ represents a type-checking error.
    // A new error_ is created with Checker.newError.
    // To report an error_, call error_.report.
    type error_ struct {
    	check *Checker
    	desc  []errorDesc
    	code  Code
    	soft  bool // TODO(gri) eventually determine this from an error code
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. internal/s3select/errors.go

    package s3select
    
    import "strings"
    
    // SelectError - represents s3 select error specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html#RESTObjectSELECTContent-responses-special-errors.
    type SelectError interface {
    	Cause() error
    	ErrorCode() string
    	ErrorMessage() string
    	HTTPStatusCode() int
    	Error() string
    }
    
    type s3Error struct {
    	code       string
    	message    string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/errors.go

    func NewInvalidError(errors field.ErrorList) InvalidError {
    	return InvalidError{errors}
    }
    
    // InternalError is generated when an error occurs in the storage package, i.e.,
    // not from the underlying storage backend (e.g., etcd).
    type InternalError struct {
    	Reason string
    }
    
    func (e InternalError) Error() string {
    	return e.Reason
    }
    
    // IsInternalError returns true if and only if err is an InternalError.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:39:10 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top