Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,231 for onerror (0.22 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      }
    
      public void testGetCheckedUntimed_error() throws TwoArgConstructorException {
        try {
          getChecked(ERROR_FUTURE, TwoArgConstructorException.class);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    
      public void testGetCheckedUntimed_badExceptionConstructor_failsEvenForSuccessfulInput()
          throws Exception {
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. cmd/sftp-server_test.go

    	newSSHCon := newSSHConnMock("dillon=ldap")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err != nil {
    		c.Fatalf("expected no error but got(%s)", err)
    	}
    
    	newSSHCon = newSSHConnMock("dillon")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err != nil {
    		c.Fatalf("expected no error but got(%s)", err)
    	}
    }
    
    // A user without an sshpubkey attribute in LDAP (here: fahim) should not be
    // able to authenticate.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. cmd/metacache-server-pool.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    func renameAllBucketMetacache(epPath string) error {
    	// Rename all previous `.minio.sys/buckets/<bucketname>/.metacache` to
    	// to `.minio.sys/tmp/` for deletion.
    	return readDirFn(pathJoin(epPath, minioMetaBucket, bucketMetaPrefix), func(name string, typ os.FileMode) error {
    		if typ == os.ModeDir {
    			tmpMetacacheOld := pathutil.Join(epPath, minioMetaTmpDeletedBucket, mustGetUUID())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         *
         * @return session key of the underlying smb session
         * @throws CIFSException if an error occurs retrieving the session key
         */
        byte[] getSessionKey() throws CIFSException;
    
        /**
         * Gets the input stream for reading from this pipe.
         *
         * @return this pipe's input stream
         * @throws CIFSException if an error occurs getting the input stream
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. cmd/tier-handlers.go

    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    var (
    	// error returned when remote tier already exists
    	errTierAlreadyExists = AdminError{
    		Code:       "XMinioAdminTierAlreadyExists",
    		Message:    "Specified remote tier already exists",
    		StatusCode: http.StatusConflict,
    	}
    	// error returned when remote tier is not found
    	errTierNotFound = AdminError{
    		Code:       "XMinioAdminTierNotFound",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/etcd.go

    var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints")
    
    func etcdErrToErr(err error, etcdEndpoints []string) error {
    	if err == nil {
    		return nil
    	}
    	switch err {
    	case context.DeadlineExceeded:
    		return fmt.Errorf("%w %s", errEtcdUnreachable, etcdEndpoints)
    	default:
    		return fmt.Errorf("unexpected error %w from etcd, please check your endpoints %s", err, etcdEndpoints)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/handling-errors.md

    `RequestValidationError` es una subclase de <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a> de Pydantic.
    
    **FastAPI** la usa para que, si usas un modelo Pydantic en `response_model`, y tus datos tienen un error, lo verás en tu log.
    
    Pero el cliente/usuario no lo verá. En su lugar, el cliente recibirá un "Error Interno del Servidor" con un código de estado HTTP `500`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. callbacks/row.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    func RowQuery(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    		if db.DryRun || db.Error != nil {
    			return
    		}
    
    		if isRows, ok := db.Get("rows"); ok && isRows.(bool) {
    			db.Statement.Settings.Delete("rows")
    			db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		} else {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 08 05:40:41 UTC 2023
    - 581 bytes
    - Viewed (0)
  10. utils/tests/dummy_dialecter.go

    	"gorm.io/gorm/callbacks"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    type DummyDialector struct {
    	TranslatedErr error
    }
    
    func (DummyDialector) Name() string {
    	return "dummy"
    }
    
    func (DummyDialector) Initialize(db *gorm.DB) error {
    	callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{
    		CreateClauses:        []string{"INSERT", "VALUES", "ON CONFLICT", "RETURNING"},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top