Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 133 for Errorfs (0.05 seconds)

  1. docs/es/docs/tutorial/handling-errors.md

    Los códigos de estado en el rango de 400 significan que hubo un error por parte del cliente.
    
    ¿Recuerdas todos esos errores de **"404 Not Found"** (y chistes)?
    
    ## Usa `HTTPException` { #use-httpexception }
    
    Para devolver responses HTTP con errores al cliente, usa `HTTPException`.
    
    ### Importa `HTTPException` { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *}
    
    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)
  2. docs/en/docs/tutorial/handling-errors.md

    # Handling Errors { #handling-errors }
    
    There are many situations in which you need to notify an error to a client that is using your API.
    
    This client could be a browser with a frontend, a code from someone else, an IoT device, etc.
    
    You could need to tell the client that:
    
    * The client doesn't have enough privileges for that operation.
    * The client doesn't have access to that resource.
    * The item the client was trying to access doesn't exist.
    * etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/handling-errors.md

    # Обработка ошибок { #handling-errors }
    
    Существует множество ситуаций, когда необходимо сообщить об ошибке клиенту, использующему ваш API.
    
    Таким клиентом может быть браузер с фронтендом, чужой код, IoT-устройство и т.д.
    
    Возможно, вам придется сообщить клиенту о следующем:
    
    * Клиент не имеет достаточных привилегий для выполнения данной операции.
    * Клиент не имеет доступа к данному ресурсу.
    * Элемент, к которому клиент пытался получить доступ, не существует.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/handling-errors.md

    # Fehler behandeln { #handling-errors }
    
    Es gibt viele Situationen, in denen Sie einem Client, der Ihre API nutzt, einen Fehler mitteilen müssen.
    
    Dieser Client könnte ein Browser mit einem Frontend sein, ein Code von jemand anderem, ein IoT-Gerät usw.
    
    Sie könnten dem Client mitteilen müssen, dass:
    
    * Der Client nicht genügend Berechtigungen für diese Operation hat.
    * Der Client keinen Zugriff auf diese Ressource hat.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/handling-errors.md

    # Manipulação de erros { #handling-errors }
    
    Há diversas situações em que você precisa notificar um erro a um cliente que está utilizando a sua API.
    
    Esse cliente pode ser um browser com um frontend, o código de outra pessoa, um dispositivo IoT, etc.
    
    Pode ser que você precise comunicar ao cliente que:
    
    * O cliente não tem direitos para realizar aquela operação.
    * O cliente não tem acesso aquele recurso.
    * O item que o cliente está tentando acessar não existe.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/endtoend_test.go

    		m := fileLineRE.FindStringSubmatch(line)
    		if m == nil {
    			t.Errorf("unexpected error: %v", line)
    			continue
    		}
    		fileline := m[1]
    		if errors[fileline] != "" && errors[fileline] != line {
    			t.Errorf("multiple errors on %s:\n\t%s\n\t%s", fileline, errors[fileline], line)
    			continue
    		}
    		errors[fileline] = line
    	}
    
    	// Reconstruct expected errors by independently "parsing" the input.
    	data, err := os.ReadFile(input)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 18:45:48 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    /// tip | Consejo
    
    Algunos editores revisan los parámetros de función no usados y los muestran como errores.
    
    Usando estas `dependencies` en el decorador de *path operation* puedes asegurarte de que se ejecutan mientras evitas errores en editores/herramientas.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. src/archive/tar/writer_test.go

    			t.Errorf("WriteHeader() = got %v, want non-nil error", err)
    		}
    		if _, err := tw.Write(nil); err == nil {
    			t.Errorf("Write() = %v, want non-nil error", err)
    		}
    		if err := tw.Flush(); err == nil {
    			t.Errorf("Flush() = %v, want non-nil error", err)
    		}
    		if err := tw.Close(); err == nil {
    			t.Errorf("Close() = %v, want non-nil error", err)
    		}
    	})
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  9. docs/es/docs/deployment/concepts.md

    De manera similar a asegurarte de que tu aplicación se ejecute al iniciar, probablemente también quieras asegurarte de que se **reinicie** después de fallos.
    
    ### Cometemos Errores { #we-make-mistakes }
    
    Nosotros, como humanos, cometemos **errores**, todo el tiempo. El software casi *siempre* tiene **bugs** ocultos en diferentes lugares. 🐛
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  10. src/archive/tar/reader_test.go

    		if !slices.Equal(got, v.wantMap) {
    			t.Errorf("test %d, readGNUSparsePAXHeaders(): got %v, want %v", i, got, v.wantMap)
    		}
    		if err != v.wantErr {
    			t.Errorf("test %d, readGNUSparsePAXHeaders() = %v, want %v", i, err, v.wantErr)
    		}
    		if hdr.Size != v.wantSize {
    			t.Errorf("test %d, Header.Size = %d, want %d", i, hdr.Size, v.wantSize)
    		}
    		if hdr.Name != v.wantName {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
Back to Top