Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,763 for perror (0.1 sec)

  1. fastapi/exceptions.py

        """
        A generic, FastAPI-specific error.
        """
    
    
    class ValidationException(Exception):
        def __init__(self, errors: Sequence[Any]) -> None:
            self._errors = errors
    
        def errors(self) -> Sequence[Any]:
            return self._errors
    
    
    class RequestValidationError(ValidationException):
        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         * Sends an exception to the user in the <b>error</b> error level.
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error the error that caused this log
         */
        void error(Throwable error);
    
        void error(Supplier<String> content);
    
        void error(Supplier<String> content, Throwable error);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/runtime/runtime_fake_test.go

    		res *v1.ImageStatusResponse
    		err error
    	}
    	listPodSandboxReturns struct {
    		res []*v1.PodSandbox
    		err error
    	}
    	newRemoteImageServiceReturns struct {
    		res cri.ImageManagerService
    		err error
    	}
    	newRemoteRuntimeServiceReturns struct {
    		res cri.RuntimeService
    		err error
    	}
    	pullImageReturns struct {
    		res string
    		err error
    	}
    	removePodSandboxReturns struct {
    		res error
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/decls2/decls2a.go

    // T2's method declared before the type.
    func (*T2) f /* ERROR "field and method" */ () {}
    
    type T2 struct {
    	f int
    }
    
    // Methods declared without a declared type.
    func (undefined /* ERROR "undefined" */) m() {}
    func (x *undefined /* ERROR "undefined" */) m() {}
    
    func (pi /* ERROR "not a type" */) m1() {}
    func (x pi /* ERROR "not a type" */) m2() {}
    func (x *pi /* ERROR "not a type" */ ) m3() {}
    
    // Blank types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

        SE_EventStatus event_status =
            stream_executor_->get_event_status(device_, event_handle_);
    
        switch (event_status) {
          case SE_EVENT_ERROR:
            return Event::Status::kError;
          case SE_EVENT_PENDING:
            return Event::Status::kPending;
          case SE_EVENT_COMPLETE:
            return Event::Status::kComplete;
          default:
            return Event::Status::kUnknown;
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/admin-handler-utils.go

    	}
    	return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    func importError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, 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)
  8. tests/prepared_stmt_test.go

    			tx.Rollback()
    		}
    	}()
    	if err := tx.Error; err != nil {
    		t.Errorf("Failed to start transaction, got error %v\n", err)
    	}
    
    	if err := tx.Where("name=?", "zzjin").Delete(&User{}).Error; err != nil {
    		tx.Rollback()
    		t.Errorf("Failed to run one transaction, got error %v\n", err)
    	}
    
    	if err := tx.Create(&User{Name: "zzjin"}).Error; err != nil {
    		tx.Rollback()
    		t.Errorf("Failed to run one transaction, got error %v\n", err)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 07:55:43 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/internal/types/testdata/spec/range_int.go

    	}
    	for range 1 /* ERROR "cannot range over 1 + 0i (untyped complex constant (1 + 0i))" */ + 0i {
    	}
    
    	for range 1.1 /* ERROR "cannot range over 1.1 (untyped float constant)" */ {
    	}
    	for range 1i /* ERROR "cannot range over 1i (untyped complex constant (0 + 1i))" */ {
    	}
    
    	for i := range 10.0 /* ERROR "cannot range over 10.0 (untyped float constant 10)" */ {
    		_ = i
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. test/fixedbugs/issue31747.go

    	_ = 0x0p1 // ERROR "hexadecimal floating-point"
    
    	_ = 1_000i // ERROR "underscore"
    	_ = 0b111i // ERROR "binary"
    	_ = 0o567i // ERROR "octal"
    	_ = 0xabci // ERROR "hexadecimal floating-point"
    	_ = 0x0p1i // ERROR "hexadecimal floating-point"
    )
    
    // signed shift counts
    var (
    	s int
    	_ = 1 << s // ERROR "invalid operation: 1 << s \(signed shift count type int\) requires go1.13 or later|signed shift count"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top