Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 414 for raises (0.04 seconds)

  1. docs/tr/docs/how-to/authentication-error-status-code.md

    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py310.py hl[9:13] *}
    
    /// tip | İpucu
    
    Fonksiyonun exception instance'ını döndürdüğüne dikkat edin; exceptionraise etmiyor. Raise işlemi internal kodun geri kalan kısmında yapılıyor.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/websockets.md

    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info
    
    Bu bir WebSocket olduğu için `HTTPException` raise etmek pek anlamlı değildir; bunun yerine `WebSocketException` raise ederiz.
    
    [Spesifikasyonda tanımlanan geçerli kodlar](https://tools.ietf.org/html/rfc6455#section-7.4.1) arasından bir kapatma kodu kullanabilirsiniz.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *}
    
    ### Lever une `HTTPException` dans votre code { #raise-an-httpexception-in-your-code }
    
    `HTTPException` est une exception Python normale avec des données supplémentaires pertinentes pour les API.
    
    Comme il s'agit d'une exception Python, vous ne la `return` pas, vous la `raise`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. docs/uk/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Вони можуть оголошувати вимоги до запиту (наприклад, заголовки) або інші підзалежності:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Підіймати винятки { #raise-exceptions }
    
    Ці залежності можуть `raise` винятки, так само як і звичайні залежності:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Значення, що повертаються { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/websockets.md

    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info
    
    As this is a WebSocket it doesn't really make sense to raise an `HTTPException`, instead we raise a `WebSocketException`.
    
    You can use a closing code from the [valid codes defined in the specification](https://tools.ietf.org/html/rfc6455#section-7.4.1).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. tests/connpool_test.go

    	if err = tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    	if err = tx.First(&User{}, "name = ?", "transaction").Error; err != nil {
    		t.Fatalf("Should find saved record, but got %v", err)
    	}
    
    	user1 := *GetUser("transaction1-1", Config{})
    
    	if err = tx.Save(&user1).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *}
    
    ### Згенеруйте `HTTPException` у своєму коді { #raise-an-httpexception-in-your-code }
    
    `HTTPException` - це звичайна помилка Python із додатковими даними, які стосуються API.
    
    Оскільки це помилка Python, ви не `return` її, а `raise` її.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Exceptions auslösen { #raise-exceptions }
    
    Die Abhängigkeiten können Exceptions `raise`n, genau wie normale Abhängigkeiten:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Rückgabewerte { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Pueden declarar requisitos de request (como headers) u otras sub-dependencias:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Lanzar excepciones { #raise-exceptions }
    
    Estas dependencias pueden `raise` excepciones, igual que las dependencias normales:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Valores de retorno { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Request gereksinimleri (header'lar gibi) veya başka alt dependency'ler tanımlayabilirler:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Exception Fırlatmak { #raise-exceptions }
    
    Bu dependency'ler, normal dependency'lerde olduğu gibi `raise` ile exception fırlatabilir:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Return Değerleri { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top