- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 2,639 for erros (0.02 seconds)
-
gorm.go
return db.callbacks } // AddError add error to db func (db *DB) AddError(err error) error { if err != nil { if db.Config.TranslateError { if errTranslator, ok := db.Dialector.(ErrorTranslator); ok { err = errTranslator.Translate(err) } } if db.Error == nil { db.Error = err } else { db.Error = fmt.Errorf("%v; %w", db.Error, err) } } return db.Error }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Aug 26 06:24:29 GMT 2025 - 12.8K bytes - Click Count (0) -
fastapi/applications.py
valid, that would mean a violation of the contract with the client, so it's an error from the API developer. So, FastAPI will raise an error and return a 500 error code (Internal Server Error). Read more about it in the [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 176.3K bytes - Click Count (0) -
docs/en/docs/python-types.md
Check this function, it already has type hints: {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *} Because the editor knows the types of the variables, you don't only get completion, you also get error checks: <img src="/img/python-types/image04.png"> Now you know that you have to fix it, convert `age` to a string with `str(age)`: {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/SmbResource.java
* <code>false</code> otherwise * @throws CIFSException if an error occurs accessing the resource */ boolean exists() throws CIFSException; /** * Fetch a child resource * * @param name the name of the child resource to resolve * @return the child resource * @throws CIFSException if an error occurs accessing the resource */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1) -
cmd/apierrorcode_string.go
// Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.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[ErrNone-0] _ = x[ErrAccessDenied-1] _ = x[ErrBadDigest-2] _ = x[ErrEntityTooSmall-3] _ = x[ErrEntityTooLarge-4]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 21.6K bytes - Click Count (0) -
tests/association_generics_test.go
c2 := Company{Name: "Books"} if err := DB.Create(&c1).Error; err != nil { t.Fatalf("create c1: %v", err) } if err := DB.Create(&c2).Error; err != nil { t.Fatalf("create c2: %v", err) } // Create users with companies u1 := User{Name: "John", Age: 25, CompanyID: &c1.ID} u2 := User{Name: "Jane", Age: 30, CompanyID: &c2.ID} if err := DB.Create(&u1).Error; err != nil { t.Fatalf("create u1: %v", err) }Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
this.status = NT_STATUS_UNSUCCESSFUL; } /** * Constructs an SmbException with the specified error code * * @param errcode the error code (either SMB or Windows error code) * @param winerr true if errcode is a Windows error code, false if it's an SMB error code */ public SmbException(final int errcode, final boolean winerr) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
internal/kms/conn.go
// for multiple endpoints. Version(context.Context) (string, error) // APIs returns a list of APIs supported by the KMS server. // // TODO(aead): remove this API call. It's hardly useful. APIs(context.Context) ([]madmin.KMSAPI, error) // Stat returns the current KMS status. Status(context.Context) (map[string]madmin.ItemState, error) // CreateKey creates a new key at the KMS with the given key ID.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 5K bytes - Click Count (0) -
internal/pubsub/pubsub_test.go
ch2 := make(chan Maskable, 1) doneCh := make(chan struct{}) defer close(doneCh) if err := ps.Subscribe(MaskAll, ch1, doneCh, nil); err != nil { t.Fatalf("unexpected error: %v", err) } if err := ps.Subscribe(MaskAll, ch2, doneCh, nil); err != nil { t.Fatalf("unexpected error: %v", err) } ps.Lock() defer ps.Unlock() if len(ps.subs) != 2 || ps.NumSubscribers(MaskAll) != 2 || ps.Subscribers() != 2 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Aug 14 17:11:51 GMT 2024 - 5.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
* Sends an exception to the user in the <b>error</b> error level. * The stack trace for this exception will be output when this error level is enabled. * * @param error the error that caused this log */ void error(Throwable error); void error(Supplier<String> content); void error(Supplier<String> content, Throwable error);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Sep 28 09:03:24 GMT 2024 - 5.4K bytes - Click Count (0)