- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for error (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/site-replication.go
type concErr struct { errMap map[string]error summaryErr error } func (c concErr) Error() string { if c.summaryErr != nil { return c.summaryErr.Error() } return "<nil>" } func (c concErr) Unwrap() error { return c.summaryErr } func (c *SiteReplicationSys) toErrorFromErrMap(errMap map[string]error, actionName string) error { if len(errMap) == 0 { return nilCreated: 2026-04-05 19:28 - Last Modified: 2025-09-28 20:59 - 184.8K bytes - Click Count (1) -
cmd/storage-datatypes_gen.go
if err != nil { err = msgp.WrapError(err, "Metrics") return } z.Error, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Error") return } return } // EncodeMsg implements msgp.Encodable func (z *DiskInfo) EncodeMsg(en *msgp.Writer) (err error) { // array header, size 18 err = en.Append(0xdc, 0x0, 0x12) if err != nil { return }Created: 2026-04-05 19:28 - Last Modified: 2025-09-28 20:59 - 151.7K bytes - Click Count (0) -
cmd/sts-handlers_test.go
] } ] }`) err = s.adm.AddCannedPolicy(ctx, policy, policyBytes) if err != nil { c.Fatalf("policy add error: %v", err) } if err = s.adm.AddUser(ctx, "dillon", "dillon-123"); err != nil { c.Fatalf("policy add error: %v", err) } _, err = s.adm.AttachPolicy(ctx, madmin.PolicyAssociationReq{ Policies: []string{policy}, User: "dillon", })
Created: 2026-04-05 19:28 - Last Modified: 2025-10-15 17:00 - 103.4K bytes - Click Count (1) -
cmd/object-handlers_test.go
var errXML APIErrorResponse err = xml.Unmarshal(errBytes, &errXML) if err != nil { t.Fatalf("%s, Failed to unmarshal error response from upload part request \"%s\"/\"%s\": <ERROR> %v.", reqType, bucketName, test.objectName, err) } // Validate whether the error has occurred for the expected reason. if want.Code != errXML.Code {
Created: 2026-04-05 19:28 - Last Modified: 2025-09-28 20:59 - 163.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* @throws IOException if an I/O error occurs */ public ACE[] getSecurity() throws IOException { return getSecurity(false); } /** * Returns the owner user SID for this file * * @return the owner user SID * @throws IOException if an I/O error occurs */ public SID getOwnerUser() throws IOException {Created: 2026-04-05 00:10 - Last Modified: 2025-08-30 05:58 - 112.2K bytes - Click Count (0) -
cmd/object-handlers.go
writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL) return } opts, err := getOpts(ctx, r, bucket, object) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Check for auth type to return S3 compatible error. // type to return the correct error (NoSuchKey vs AccessDenied)
Created: 2026-04-05 19:28 - Last Modified: 2025-09-28 20:59 - 120.6K bytes - Click Count (0) -
cmd/bucket-replication.go
// Ignore the error, since we know the object exists and versioning prevents overwriting existing versions. if isSSEC && strings.Contains(cerr.Error(), errorCodes[ErrSSEEncryptedObject].Description) { rinfo.ReplicationStatus = replication.Completed rinfo.ReplicationAction = replicateNone goto applyAction } // if target returns error other than NoSuchKey, defer replication attempt
Created: 2026-04-05 19:28 - Last Modified: 2025-09-28 20:59 - 118.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
runExpectedExceptionCatchingAsyncTest(expectedException, false); } public void testCatchingAsync_fallbackGeneratesError() throws Exception { Error error = new Error("deliberate"); AsyncFunction<Throwable, Integer> fallback = unused -> { throw error; }; ListenableFuture<Integer> failingFuture = immediateFailedFuture(new RuntimeException()); ExecutionException expected =
Created: 2026-04-03 12:43 - Last Modified: 2026-03-16 22:45 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
runExpectedExceptionCatchingAsyncTest(expectedException, false); } public void testCatchingAsync_fallbackGeneratesError() throws Exception { Error error = new Error("deliberate"); AsyncFunction<Throwable, Integer> fallback = unused -> { throw error; }; ListenableFuture<Integer> failingFuture = immediateFailedFuture(new RuntimeException()); ExecutionException expected =
Created: 2026-04-03 12:43 - Last Modified: 2026-03-16 22:45 - 134K 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: 2026-04-05 07:19 - Last Modified: 2026-04-01 16:16 - 178.6K bytes - Click Count (0)