Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 142 for Krause (0.18 sec)

  1. docs_src/dependencies/tutorial008d_an.py

            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 744 bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial008d_an_py39.py

            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 734 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                        e = causes[causes.length - 1];
                    }
                }
    
                String errorName;
                final Throwable cause = e.getCause();
                if (cause != null) {
                    errorName = cause.getClass().getCanonicalName();
                } else {
                    errorName = e.getClass().getCanonicalName();
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java

            this.source = source;
        }
    
        @Override
        public void add(Problem.Severity severity, String message, int line, int column, Exception cause) {
            Problem problem = new DefaultProblem(message, severity, source, line, column, cause);
    
            problems.add(problem);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exception/SearchQueryException.java

        public SearchQueryException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        public SearchQueryException(final String message) {
            super(message);
        }
    
        public SearchQueryException(final Throwable cause) {
            super(cause);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1K bytes
    - Viewed (0)
  6. internal/crypto/error.go

    // modified accidentally or maliciously.
    type Error struct {
    	msg   string
    	cause error
    }
    
    // Errorf - formats according to a format specifier and returns
    // the string as a value that satisfies error of type crypto.Error
    func Errorf(format string, a ...interface{}) error {
    	e := fmt.Errorf(format, a...)
    	ee := Error{}
    	ee.msg = e.Error()
    	ee.cause = errors.Unwrap(e)
    	return ee
    }
    
    // Unwrap the internal error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. docs_src/path_operation_advanced_configuration/tutorial007.py

        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.model_validate(data)
        except ValidationError as e:
            raise HTTPException(status_code=422, detail=e.errors(include_url=False))
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 822 bytes
    - Viewed (0)
  8. internal/grid/stream.go

    	// Channel will be closed after error or when remote closes.
    	// All responses *must* be read by the caller until either an error is returned or the channel is closed.
    	// Canceling the context will cause the context cancellation error to be returned.
    	responses <-chan Response
    	cancel    context.CancelCauseFunc
    
    	// Requests sent to the server.
    	// If the handler is defined with 0 incoming capacity this will be nil.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/ParseRuntimeException.java

        private static final long serialVersionUID = -5237329676597387063L;
    
        /**
         * {@link ParseRuntimeException}γ‚’δ½œζˆγ—γΎγ™γ€‚
         *
         * @param cause
         *            εŽŸε› γ¨γͺγ£γŸδΎ‹ε€–
         */
        public ParseRuntimeException(final ParseException cause) {
            super("ECL0050", asArray(cause), cause);
        }
    
        /**
         * {@link ParseRuntimeException}γ‚’δ½œζˆγ—γΎγ™γ€‚
         *
         * @param s
         *            解析できγͺγ‹γ£γŸζ–‡ε­—εˆ—
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/IllegalAccessRuntimeException.java

         *
         * @param targetClass
         *            γ‚ΏγƒΌγ‚²γƒƒγƒˆγ‚―γƒ©γ‚Ή
         * @param cause
         *            εŽŸε› γ¨γͺγ£γŸδΎ‹ε€–
         */
        public IllegalAccessRuntimeException(final Class<?> targetClass, final IllegalAccessException cause) {
            super("ECL0042", asArray(targetClass.getName(), cause), cause);
            this.targetClass = targetClass;
        }
    
        /**
         * γ‚ΏγƒΌγ‚²γƒƒγƒˆγ‚―γƒ©γ‚Ήγ‚’θΏ”γ—γΎγ™γ€‚
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top