Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,955 for error_1 (0.1 sec)

  1. docs/en/docs/how-to/custom-request-and-route.md

    ## Accessing the request body in an exception handler
    
    /// tip
    
    To solve this same problem, it's probably a lot easier to use the `body` in a custom handler for `RequestValidationError` ([Handling Errors](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    But this example is still valid and it shows how to interact with the internal components.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/main/resources/fess_message_ja.properties

    errors.property_type_long={0}は数値です。
    errors.property_type_float={0}は数値です。
    errors.property_type_double={0}は数値です。
    errors.property_type_date={0}は日付です。
    
    errors.storage_file_upload_failure={0} のアップロードに失敗しました。
    errors.storage_file_not_found=対象のファイルはストレージ内にありません。
    errors.storage_file_download_failure={0} のダウンロードに失敗しました。
    errors.storage_access_error=ストレージアクセスエラー: {0}
    errors.storage_no_upload_file=アップロードするファイルを指定してください。
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/orig/view/advance.jsp

    			<div>
    				<la:info id="msg" message="true">
    					<div class="alert alert-info">${msg}</div>
    				</la:info>
    				<la:errors header="errors.front_header" footer="errors.front_footer" prefix="errors.front_prefix"
    					suffix="errors.front_suffix"
    				/>
    			</div>
    			<div class="form-group row">
    				<label for="as_q" class="col-lg-3 col-md-4 col-sm-5 col-12 col-form-label"><la:message
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    	}
    
    	f := handlers.NewForwarder(&handlers.Forwarder{
    		PassHost:     true,
    		RoundTripper: ep.Transport,
    		ErrorHandler: func(w http.ResponseWriter, r *http.Request, err error) {
    			success = false
    			if err != nil && !errors.Is(err, context.Canceled) {
    				replLogIf(GlobalContext, err)
    			}
    		},
    	})
    
    	r.URL.Scheme = "http"
    	if globalIsTLS {
    		r.URL.Scheme = "https"
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    		if err == nil {
    			return files, gr.ObjInfo, nil
    		}
    		var terr zipindex.ErrNeedMoreData
    		if errors.As(err, &terr) {
    			size = int(terr.FromEnd)
    			if size <= 0 || size > 100<<20 {
    				return nil, ObjectInfo{}, errors.New("zip directory too large")
    			}
    		} else {
    			return nil, ObjectInfo{}, err
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/batch-rotate.go

    	if err := r.Notify(ctx, ri); err != nil {
    		batchLogIf(ctx, fmt.Errorf("unable to notify %v", err))
    	}
    
    	cancel()
    	return nil
    }
    
    //msgp:ignore batchKeyRotationJobError
    type batchKeyRotationJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    func (e batchKeyRotationJobError) Error() string {
    	return e.Description
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. internal/config/notify/parse.go

    			}
    			if err != nil {
    				return fmt.Errorf("error (%s): %w", target.ID(), err)
    			}
    		} else {
    			// Just for call init.
    			// Ignore target is online or offline
    			_, _ = target.IsActive()
    		}
    	}
    
    	return nil
    }
    
    func fetchSubSysTargets(ctx context.Context, cfg config.Config, subSys string, transport *http.Transport) (targets []event.Target, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    	"github.com/prometheus/client_golang/prometheus/promhttp"
    )
    
    type promLogger struct{}
    
    func (p promLogger) Println(v ...interface{}) {
    	metricsLogIf(GlobalContext, fmt.Errorf("metrics handler error: %v", v))
    }
    
    type metricsV3Server struct {
    	registry *prometheus.Registry
    	opts     promhttp.HandlerOpts
    	auth     func(http.Handler) http.Handler
    
    	metricsData *metricsV3Collection
    }
    
    var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. internal/s3select/sql/stringfuncs_contrib_test.go

    		resExpected string
    		errExpected error
    	}{
    		{"abcd", 1, 1, "a", nil},
    		{"abcd", -1, 1, "a", nil},
    		{"abcd", 999, 999, "", nil},
    		{"", 999, 999, "", nil},
    		{"测试abc", 1, 1, "测", nil},
    		{"测试abc", 5, 5, "c", nil},
    	}
    
    	for i, tc := range evalCases {
    		res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length)
    		if res != tc.resExpected || err != tc.errExpected {
    			t.Errorf("Eval Case %d failed: %v %v", i, res, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2-legacy.go

    func (x *xlMetaV2VersionHeader) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    	switch v {
    	case 1:
    		return x.unmarshalV1(bts)
    	case 2:
    		x2 := xlMetaV2VersionHeaderV2{xlMetaV2VersionHeader: x}
    		return x2.UnmarshalMsg(bts)
    	case xlHeaderVersion:
    		return x.UnmarshalMsg(bts)
    	}
    	return bts, fmt.Errorf("unknown xlHeaderVersion: %d", v)
    }
    
    // unmarshalV1 decodes version 1, never released.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top