Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for errorT (0.11 sec)

  1. src/cmd/go/internal/script/errors.go

    // license that can be found in the LICENSE file.
    
    package script
    
    import (
    	"errors"
    	"fmt"
    )
    
    // ErrUnexpectedSuccess indicates that a script command that was expected to
    // fail (as indicated by a "!" prefix) instead completed successfully.
    var ErrUnexpectedSuccess = errors.New("unexpected success")
    
    // A CommandError describes an error resulting from attempting to execute a
    // specific command.
    type CommandError struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:10 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/meta/errors.go

    	return fmt.Sprintf("%v matches multiple resources or kinds", e.PartialKind)
    }
    
    func (*AmbiguousKindError) Is(target error) bool {
    	_, ok := target.(*AmbiguousKindError)
    	return ok
    }
    
    func IsAmbiguousError(err error) bool {
    	if err == nil {
    		return false
    	}
    	return errors.Is(err, &AmbiguousResourceError{}) || errors.Is(err, &AmbiguousKindError{})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 11 22:50:51 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/errors.go

    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apiserver/pkg/storage"
    
    	etcdrpc "go.etcd.io/etcd/api/v3/v3rpc/rpctypes"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    )
    
    func interpretWatchError(err error) error {
    	switch {
    	case err == etcdrpc.ErrCompacted:
    		return errors.NewResourceExpired("The resourceVersion for the provided watch is too old.")
    	}
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 15:59:41 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. internal/config/errors-utils.go

    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    		if netErr, ok := err.(*net.OpError); ok {
    			return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port")
    		}
    	}
    
    	// Failed to identify what type of error this, return a simple UI error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top