- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 2,321 for erro (0.02 sec)
-
docs/sts/web-identity.py
"scope": "openid"} url = authorize_url + "?" + urllib.parse.urlencode(params) return url @app.route('/oauth2/callback') def callback(): error = request.args.get('error', '') if error: return "Error: " + error authorization_code = request.args.get('code') data = {'grant_type': 'authorization_code', 'code': authorization_code, 'redirect_uri': callback_uri}
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0) -
cmd/os_unix.go
fd, err := openFileWithFD(dirPath, readMode, 0o666) if err != nil { if osErrToFileErr(err) == errFileNotFound { return nil } if !osIsPermission(err) { return osErrToFileErr(err) } // There may be permission error when dirPath // is at the root of the disk mount that may // not have the permissions to avoid 'noatime' fd, err = openFileWithFD(dirPath, os.O_RDONLY, 0o666)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.3K bytes - Viewed (0) -
tests/main_test.go
if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } var count1, count2 int64
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcException.java
} /** The DCERPC error code */ private int error; /** The root cause exception */ private Throwable rootCause; DcerpcException(final int error) { super(getMessageByDcerpcError(error)); this.error = error; } /** * Constructs a DcerpcException with the specified message * * @param msg the error message */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java
} /** * Sets the error message. * * @param error the error message */ public void setError(String error) { this.error = error; } /** * Gets the return code. * * @return the return code */ public int getReturnCode() { return returnCode; } /** * Sets the return code.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2K bytes - Viewed (0) -
tests/update_many2many_test.go
if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}} for _, lang := range user.Languages { DB.Create(&lang) } user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}} if err := DB.Save(&user).Error; err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.3K bytes - Viewed (0) -
tests/test_starlette_exception.py
@app.get("/items/{item_id}") async def read_item(item_id: str): if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "Some custom header"}, ) return {"item": items[item_id]} @app.get("/http-no-body-statuscode-exception") async def no_body_status_code_exception(): raise HTTPException(status_code=204)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.4K bytes - Viewed (0) -
tests/test_response_class_no_mediatype.py
class Error(BaseModel): status: str title: str class JsonApiError(BaseModel): errors: list[Error] @app.get( "/a", response_class=Response, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass # pragma: no cover @app.get("/b", responses={500: {"description": "Error", "model": Error}}) async def b():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.3K bytes - Viewed (0) -
internal/bucket/replication/datatypes_gen.go
func (z *Type) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 int zb0001, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err) return } (*z) = Type(zb0001) } return } // EncodeMsg implements msgp.Encodable func (z Type) EncodeMsg(en *msgp.Writer) (err error) { err = en.WriteInt(int(z)) if err != nil { err = msgp.WrapError(err) return } return }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.4K bytes - Viewed (0) -
cmd/storage-rest_test.go
storage := globalLocalSetDrives[0][0][0] if err = storage.MakeVol(t.Context(), "foo"); err != nil { t.Fatalf("unexpected error %v", err) } if err = storage.MakeVol(t.Context(), "bar"); err != nil { t.Fatalf("unexpected error %v", err) } restClient, err := newStorageRESTClient(endpoint, false, tg.Managers[0]) if err != nil { t.Fatal(err) } for {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 11.4K bytes - Viewed (0)