Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 2,639 for erros (0.02 seconds)

  1. internal/disk/stat_openbsd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    	"syscall"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         * This is the main trigger for the <code>Mojo</code> inside the <code>Maven</code> system, and allows
         * the <code>Mojo</code> to communicate errors.
         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. docs/smb3-features/03-multi-channel-design.md

        
        ChannelInfo channel = createTestChannel("test-channel", 1000);
        manager.addChannel(channel);
        
        // Simulate failure
        IOException error = new IOException("Network error");
        failover.handleFailure(channel, error);
        
        // Verify channel marked as failed
        assertEquals(ChannelState.FAILED, channel.getState());
        
        // Verify recovery attempted
        Thread.sleep(2000);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  4. tests/generics_test.go

    	}
    
    	_, err = db.Joins(clause.Has("Company"), func(db gorm.JoinBuilder, joinTable clause.Table, curTable clause.Table) error {
    		return errors.New("join error")
    	}).First(ctx)
    	if err == nil {
    		t.Fatalf("Joins should got error, but got nil")
    	}
    }
    
    func TestGenericsNestedJoins(t *testing.T) {
    	users := []User{
    		{
    			Name: "generics-nested-joins-1",
    			Manager: &User{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  5. tests/associations_belongs_to_test.go

    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	pointerOfUser := &user2
    	if err := DB.Model(&pointerOfUser).Association("Company").Find(&user2.Company); err != nil {
    		t.Errorf("failed to query users, got error %#v", err)
    	}
    	user2.Manager = &User{}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    	CLWSP	22(SP), X10				// ERROR "must be a multiple of 4"
    	CLDSP	24(X5), X10				// ERROR "rs2 must be SP/X2"
    	CLDSP	24(SP), X0				// ERROR "cannot use register X0"
    	CLDSP	24(SP), F10				// ERROR "expected integer register in rd position"
    	CLDSP	28(SP), X10				// ERROR "must be a multiple of 8"
    	CFLDSP	32(X5), F10				// ERROR "rs2 must be SP/X2"
    	CFLDSP	32(SP), X10				// ERROR "expected float register in rd position"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 42.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/exception/PluginException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception for plugin-related errors.
     */
    public class PluginException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a plugin exception with message and cause.
         *
         * @param message the error message
         * @param cause the cause
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. internal/config/api/api.go

    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    	return json.Unmarshal(data, &aux)
    }
    
    // LookupConfig - lookup api config and override with valid environment settings if any.
    func LookupConfig(kvs config.KVS) (cfg Config, err error) {
    	deprecatedKeys := []string{
    		apiReadyDeadline,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.5K bytes
    - Click Count (1)
  9. internal/logger/target/http/http.go

    	}
    
    	select {
    	case h.logCh <- entry:
    		h.totalMessages.Add(1)
    	case <-ctx.Done():
    		// return error only for context timedout.
    		if errors.Is(ctx.Err(), context.DeadlineExceeded) {
    			return ctx.Err()
    		}
    		return nil
    	default:
    		h.totalMessages.Add(1)
    		h.failedMessages.Add(1)
    		return errors.New("log buffer full")
    	}
    
    	return nil
    }
    
    // Cancel - cancels the target.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial008c_an_py39.py hl[15:16] *}
    
    Neste caso, o cliente irá ver uma resposta *HTTP 500 Internal Server Error* como deveria acontecer, já que não estamos levantando nenhuma `HTTPException` ou coisa parecida, mas o servidor **não terá nenhum log** ou qualquer outra indicação de qual foi o erro. 😱
    
    ### Sempre levante (`raise`) em Dependências com `yield` e `except` { #always-raise-in-dependencies-with-yield-and-except }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top