Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,666 for errorT (0.17 sec)

  1. src/fmt/errors.go

    package fmt
    
    import (
    	"errors"
    	"slices"
    )
    
    // Errorf formats according to a format specifier and returns the string as a
    // value that satisfies error.
    //
    // If the format specifier includes a %w verb with an error operand,
    // the returned error will implement an Unwrap method returning the operand.
    // If there is more than one %w verb, the returned error will implement an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. docs/en/docs/tutorial/handling-errors.md

    **FastAPI** uses it so that, if you use a Pydantic model in `response_model`, and your data has an error, you will see the error in your log.
    
    But the client/user will not see it. Instead, the client will receive an "Internal Server Error" with a HTTP status code `500`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. cmd/object-api-errors.go

    	return errors.As(err, &bkNotFound)
    }
    
    // isErrReadQuorum check if the error type is InsufficientReadQuorum
    func isErrReadQuorum(err error) bool {
    	var rquorum InsufficientReadQuorum
    	return errors.As(err, &rquorum)
    }
    
    // isErrWriteQuorum check if the error type is InsufficientWriteQuorum
    func isErrWriteQuorum(err error) bool {
    	var rquorum InsufficientWriteQuorum
    	return errors.As(err, &rquorum)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    						Detail: "error1",
    					},
    				},
    				{
    					Error: &apiservercel.Error{
    						Detail: "error2",
    					},
    				},
    				{
    					Error: &apiservercel.Error{
    						Detail: "error3",
    					},
    				},
    			},
    			expected: []error{
    				errors.New("error1"),
    				errors.New("error2"),
    				errors.New("error3"),
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/check_test.go

    // ERROR/ERRORx indicator, and the pattern must be a properly quoted Go
    // string.
    //
    // The harness will verify that each ERROR pattern is a substring of the
    // error reported at that source position, and that each ERRORx pattern
    // is a regular expression matching the respective error.
    // Consecutive comments may be used to indicate multiple errors reported
    // at the same position.
    //
    // For instance, the following test source indicates that an "undeclared"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. docs/bucket/replication/sio-error.sh

    Poorna <******@****.***> 1716056341 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. cmd/admin-handler-utils.go

    		return toAPIError(ctx, fmt.Errorf("error importing %s with: %w", fname, err))
    	}
    	return toAPIError(ctx, fmt.Errorf("error importing %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    func importErrorWithAPIErr(ctx context.Context, apiErr APIErrorCode, err error, fname, entity string) APIError {
    	if entity == "" {
    		return errorCodes.ToAPIErrWithErr(apiErr, fmt.Errorf("error importing %s with: %w", fname, err))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go

    		if len(errs) != 0 {
    			t.Logf("errors returned: %v", errs)
    		}
    		if len(errs) != 0 && typeName == "object" {
    			t.Errorf("unexpected forbidden field validation errors for: %#v", s)
    		}
    		if len(errs) == 0 && typeName != "object" {
    			t.Errorf("expected forbidden field validation errors for: %#v", s)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top