Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,484 for Mirror (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/handling_errors/tutorial004_py39.py

    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc: RequestValidationError):
        message = "Validation errors:"
        for error in exc.errors():
            message += f"\nField: {error['loc']}, Error: {error['msg']}"
        return PlainTextResponse(message, status_code=400)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 920 bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

            return success(model, problemsList);
        }
    
        /**
         * Error with problems describing the cause
         *
         * @param problems
         */
        public static <T> Result<T> error(Iterable<? extends ModelProblem> problems) {
            return error(null, problems);
        }
    
        public static <T> Result<T> error(T model) {
            return error(model, Collections.emptyList());
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. api/except.txt

    pkg os, func Chmod(string, FileMode) error
    pkg os, func Lstat(string) (FileInfo, error)
    pkg os, func Mkdir(string, FileMode) error
    pkg os, func MkdirAll(string, FileMode) error
    pkg os, func OpenFile(string, int, FileMode) (*File, error)
    pkg os, func SameFile(FileInfo, FileInfo) bool
    pkg os, func Stat(string) (FileInfo, error)
    pkg os, method (*File) Chmod(FileMode) error
    pkg os, method (*File) Readdir(int) ([]FileInfo, error)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Sun Jun 16 23:08:08 GMT 2024
    - 34.8K bytes
    - Click Count (0)
  4. docs/smb3-features/06-witness-protocol-design.md

                        shareName, registration.getRegistrationId());
                })
                .exceptionally(error -> {
                    log.error("Failed to register for witness notifications", error);
                    return null;
                });
                
        } catch (Exception e) {
            log.error("Error registering for witness notifications", e);
        }
    }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  5. cmd/storage-rest-server.go

    // An optional error can be sent which will be picked as text only error,
    // without its original type by the receiver.
    // waitForHTTPResponse should be used to the receiving side.
    func keepHTTPReqResponseAlive(w http.ResponseWriter, r *http.Request) (resp func(error), body io.ReadCloser) {
    	bodyDoneCh := make(chan struct{})
    	doneCh := make(chan error)
    	ctx := r.Context()
    	go func() {
    		canWrite := true
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/handling-errors.md

        ]
    }
    ```
    
    obtendrás una versión en texto, con:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Sobrescribir el manejador de errores de `HTTPException` { #override-the-httpexception-error-handler }
    
    De la misma manera, puedes sobrescribir el manejador de `HTTPException`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java

    import java.io.IOException;
    
    /**
     * Exception thrown when an error occurs during NDR encoding or decoding operations.
     */
    public class NdrException extends IOException {
    
        /**
         * Error message for null reference pointers.
         */
        public static final String NO_NULL_REF = "ref pointer cannot be null";
    
        /**
         * Error message for invalid array conformance.
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. cmd/bucket-replication-utils_gen_test.go

    	}
    
    	vn := BucketReplicationResyncStatus{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodeBucketReplicationResyncStatus(b *testing.B) {
    	v := BucketReplicationResyncStatus{}
    	var buf bytes.Buffer
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 23K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                } catch (InterruptedException ignore) {}
                deferred.reject(new Exception());
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().error(error -> latch.countDown());
            assertTrue(latch.await(10, TimeUnit.SECONDS));
        }
    
        @Test
        public void test_doneAfterReject() throws Exception {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. cmd/object-api-listobjects_test.go

    				if !strings.Contains(err.Error(), testCase.err.Error()) {
    					t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but instead failed with error \"%s\" instead", i+1, instanceType, testCase.err.Error(), err.Error())
    				}
    			}
    			// Since there are cases for which ListObjects fails, this is
    			// necessary. Test passes as expected, but the output values
    			// are verified for correctness here.
    			if err == nil && testCase.shouldPass {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top