Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1291 - 1300 of 2,506 for ERROR (0.02 seconds)

  1. docs_src/dependencies/tutorial008b_an_py310.py

    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id not in data:
            raise HTTPException(status_code=404, detail="Item not found")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 775 bytes
    - Click Count (0)
  2. cmd/rebalstatus_string.go

    // Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 795 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/curl/io/ContentCache.java

         * If the content is cached in a file, the file contents are read.
         *
         * @return the content as a byte array
         * @throws IOException if an I/O error occurs while reading the file
         */
        public byte[] getContentAsBytes() throws IOException {
            if (data != null) {
                return data.clone();
            }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. internal/config/heal/heal.go

    		Key:   IOCount,
    		Value: "100",
    	},
    	config.KV{
    		Key:   DriveWorkers,
    		Value: "",
    	},
    }
    
    const minimumBitrotCycleInMonths = 1
    
    func parseBitrotConfig(s string) (time.Duration, error) {
    	// Try to parse as a boolean
    	enabled, err := config.ParseBool(s)
    	if err == nil {
    		switch enabled {
    		case true:
    			return 0, nil
    		case false:
    			return -1, nil
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 04 19:06:02 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/env/suggest/resources/log4j2.xml

    			<DefaultRolloverStrategy fileIndex="max" min="1"
    				max="${backup.max.history}" compressionLevel="9" />
    		</RollingFile>
    		<LogNotificationAppender name="LogNotification"
    			minLevel="${sys:fess.log.notification.level:-ERROR}" />
    	</Appenders>
    
    	<Loggers>
    		<Logger name="org.codelibs.fess" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    			<AppenderRef ref="LogNotification" />
    		</Logger>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/env/thumbnail/resources/log4j2.xml

    			<DefaultRolloverStrategy fileIndex="max" min="1"
    				max="${backup.max.history}" compressionLevel="9" />
    		</RollingFile>
    		<LogNotificationAppender name="LogNotification"
    			minLevel="${sys:fess.log.notification.level:-ERROR}" />
    	</Appenders>
    
    	<Loggers>
    		<Logger name="org.codelibs.fess" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    			<AppenderRef ref="LogNotification" />
    		</Logger>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.net.MalformedURLException;
    
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     * Error constructing an artifact repository.
     *
     */
    public class InvalidRepositoryException extends Exception {
        private final String repositoryId;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. internal/event/target/nsq_test.go

    			n := NSQArgs{
    				Enable:      tt.fields.Enable,
    				NSQDAddress: tt.fields.NSQDAddress,
    				Topic:       tt.fields.Topic,
    			}
    			if err := n.Validate(); (err != nil) != tt.wantErr {
    				t.Errorf("NSQArgs.Validate() error = %v, wantErr %v", err, tt.wantErr)
    			}
    		})
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/LoadingCache.java

       *     computation was interrupted by an {@code InterruptedException}</a>.)
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
       */
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      V get(K key) throws ExecutionException;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        }
    
        /**
         * Creates a Lucene Query from this query builder.
         *
         * @param context the query shard context
         * @return the Lucene Query
         * @throws IOException if an I/O error occurs
         */
        @Override
        public Query toQuery(final QueryShardContext context) throws IOException {
            return queryBuilder.toQuery(context);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top