Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,876 for errPos (0.04 sec)

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

    Os status codes na faixa dos 400 significam que houve um erro por parte do cliente.
    
    Você se lembra de todos aqueles erros (e piadas) a respeito do "**404 Not Found**"?
    
    ## Use o `HTTPException` { #use-httpexception }
    
    Para retornar ao cliente *responses* HTTP com erros, use o `HTTPException`.
    
    ### Import `HTTPException` { #import-httpexception }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. cmd/typed-errors.go

    // error returned when temporary account is not found
    var errNoSuchTempAccount = errors.New("Specified temporary account does not exist")
    
    // error returned when access key is not found
    var errNoSuchAccessKey = errors.New("Specified access key does not exist")
    
    // error returned in IAM subsystem when an account doesn't exist.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 5.9K bytes
    - Viewed (1)
  3. internal/crypto/error.go

    func Errorf(format string, a ...any) error {
    	e := fmt.Errorf(format, a...)
    	ee := Error{}
    	ee.msg = e.Error()
    	ee.cause = errors.Unwrap(e)
    	return ee
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.cause }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    you will get a text version, with:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Override the `HTTPException` error handler { #override-the-httpexception-error-handler }
    
    The same way, you can override the `HTTPException` handler.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. internal/config/errors-utils.go

    		if netErr, ok := err.(*net.OpError); ok {
    			return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port")
    		}
    	}
    
    	// Failed to identify what type of error this, return a simple UI error
    	return Err{msg: err.Error()}
    }
    
    // FmtError converts a fatal error message to a more clear error
    // using some colors
    func FmtError(introMsg string, err error, jsonFlag bool) string {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    eine Textversion mit:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Überschreiben des `HTTPException`-Fehlerhandlers { #override-the-httpexception-error-handler }
    
    Auf die gleiche Weise können Sie den `HTTPException`-Handler überschreiben.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    // errors returned by underlying layers.
    func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
    	if err == nil {
    		return ErrNone
    	}
    
    	// Errors that are generated by net.Conn and any context errors must be handled here.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (3)
  8. internal/bucket/lifecycle/error.go

    package lifecycle
    
    import (
    	"fmt"
    )
    
    // Error is the generic type for any error happening during tag
    // parsing.
    type Error struct {
    	err error
    }
    
    // Errorf - formats according to a format specifier and returns
    // the string as a value that satisfies error of type tagging.Error
    func Errorf(format string, a ...any) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. internal/bucket/versioning/error.go

    package versioning
    
    import (
    	"fmt"
    )
    
    // Error is the generic type for any error happening during tag
    // parsing.
    type Error struct {
    	err error
    }
    
    // Errorf - formats according to a format specifier and returns
    // the string as a value that satisfies error of type tagging.Error
    func Errorf(format string, a ...any) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    вы получите текстовую версию:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Переопределите обработчик ошибок `HTTPException` { #override-the-httpexception-error-handler }
    
    Аналогичным образом можно переопределить обработчик `HTTPException`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top