Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 2,589 for erros (0.03 sec)

  1. fastapi/exception_handlers.py

        return JSONResponse(
            status_code=422,
            content={"detail": jsonable_encoder(exc.errors())},
        )
    
    
    async def websocket_request_validation_exception_handler(
        websocket: WebSocket, exc: WebSocketRequestValidationError
    ) -> None:
        await websocket.close(
            code=WS_1008_POLICY_VIOLATION, reason=jsonable_encoder(exc.errors())
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 16 17:21:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                        new InterpolateObjectAction(obj, valueSources, postProcessors, debugEnabled, this, getLogger());
    
                ModelInterpolationException error = AccessController.doPrivileged(action);
    
                if (error != null) {
                    throw error;
                }
            } finally {
                getInterpolator().clearAnswers();
            }
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. internal/store/batch_test.go

    	}
    
    	var limit uint32 = 100
    
    	batch := NewBatch[TestItem](BatchConfig[TestItem]{
    		Limit:         limit,
    		Store:         store,
    		CommitTimeout: 5 * time.Minute,
    		Log: func(ctx context.Context, err error, id string, errKind ...any) {
    			t.Log(err)
    		},
    	})
    	defer batch.Close()
    
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(testItem); err != nil {
    			t.Fatalf("failed to add %v; %v", i, err)
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.23.md

    - Make the etcd client (used by the API server) retry certain types of errors. The full list of retriable (codes.Unavailable) errors can be found at https://github.com/etcd-io/etcd/blob/main/api/v3rpc/rpctypes/error.go#L72 ([#105069](https://github.com/kubernetes/kubernetes/pull/105069), [@p0lyn0mial](https://github.com/p0lyn0mial))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

         */
        public enum Status {
            /** Successful response status. */
            OK(0),
            /** Bad request status indicating client error. */
            BAD_REQUEST(1),
            /** System error status indicating server error. */
            SYSTEM_ERROR(2),
            /** Unauthorized status indicating authentication failure. */
            UNAUTHORIZED(3),
            /** General failure status. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. docs_src/handling_errors/tutorial005_py39.py

    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request: Request, exc: RequestValidationError):
        return JSONResponse(
            status_code=422,
            content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}),
        )
    
    
    class Item(BaseModel):
        title: str
        size: int
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 626 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                }
    
                char ch = s.charAt(pos);
                pos++;
                if (ch == '\\') {
                    sb.append(ch);
                    if (pos >= end) {
                        break; // ERROR, or let it go?
                    }
                    ch = s.charAt(pos);
                    pos++;
                }
    
                sb.append(ch);
            }
    
            if (sb.length() > 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                        addViolation(
                                problems, Severity.ERROR, "pluginGroups.pluginGroup[" + i + "]", null, "must not be empty");
                    } else if (!ID_REGEX.matcher(pluginGroup).matches()) {
                        addViolation(
                                problems,
                                Severity.ERROR,
                                "pluginGroups.pluginGroup[" + i + "]",
                                null,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/main/config/openapi/openapi-user.yaml

          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      schemas:
        Error:
          type: object
          properties:
            error_code:
              type: string
              example: "bd6b0bd6-0144-40bc-9567-c5751dd8eecb"
            message:
              type: string
              example: "This is an error message."
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java

        }
    
        @Test
        public void test_getFailures() throws Exception {
            SuggestWriterResult result = new SuggestWriterResult();
    
            Exception exception1 = new Exception("Error 1");
            Exception exception2 = new RuntimeException("Error 2");
    
            result.addFailure(exception1);
            result.addFailure(exception2);
    
            assertNotNull(result.getFailures());
            assertEquals(2, result.getFailures().size());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top