- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 97 for StatusCode (0.06 seconds)
-
internal/s3select/unused-errors.go
statusCode: 400, cause: err, } } func errColumnTooLong(err error) *s3Error { return &s3Error{ code: "ColumnTooLong", message: "The length of a column in the result is greater than maxCharsPerColumn of 1 MB.", statusCode: 400, cause: err, } } func errOverMaxColumn(err error) *s3Error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 20 08:16:35 GMT 2024 - 17.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/WebApiException.java
super(message); this.statusCode = statusCode; } /** * Constructs a WebApiException with the specified status code and exception. * * @param statusCode The HTTP status code * @param e The exception that caused this WebApiException */ public WebApiException(final int statusCode, final Exception e) { this(statusCode, e.getMessage(), e);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.3K bytes - Click Count (0) -
cmd/object-lambda-handlers.go
tokenErr.Description = "The request token included in the request is invalid" writeErrorResponse(ctx, w, tokenErr, r.URL) return } statusCode := resp.StatusCode if status := resp.Header.Get(xhttp.AmzFwdStatus); status != "" { statusCode, err = strconv.Atoi(status) if err != nil { writeErrorResponse(ctx, w, APIError{ Code: "LambdaFunctionStatusError",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
for (int statusCode : statusCodes) { WebApiException exception = new WebApiException(statusCode, "Test message"); assertEquals(statusCode, exception.getStatusCode()); } } @Test public void test_statusCode_negativeValue() { // Test with negative status code int statusCode = -1; String message = "Invalid status";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.5K bytes - Click Count (0) -
tests/test_starlette_exception.py
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) @app.get("/http-no-body-statuscode-with-detail-exception") async def no_body_status_code_with_detail_exception(): raise HTTPException(status_code=204, detail="I should just disappear!")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/ElevateWordTests.java
.when() .put(getApiPath() + "/upload"); int statusCode = response.getStatusCode(); assertTrue(statusCode == 200 || statusCode == 400, "Status code should be 200 or 400, but was " + statusCode); if (statusCode == 200) { JsonPath jsonPath = JsonPath.from(response.asString());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4K bytes - Click Count (0) -
internal/s3select/json/errors.go
type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/BadWordTests.java
.when() .put(getApiPath() + "/upload"); int statusCode = response.getStatusCode(); // Accept either 200 (success) or other status codes based on implementation assertTrue(statusCode == 200 || statusCode == 400, "Status code should be 200 or 400, but was " + statusCode); if (statusCode == 200) { JsonPath jsonPath = JsonPath.from(response.asString());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java
@Test public void testPopularWords_ok() { given().contentType("application/json") .when() .get("/api/v1/popular-words") .then() .statusCode(200) .body("record_count", greaterThanOrEqualTo(0)) .body("data", notNullValue()); } @Test public void testPopularWords_withSeed() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 3.6K bytes - Click Count (0) -
internal/s3select/errors.go
type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 14 16:48:36 GMT 2022 - 4.3K bytes - Click Count (0)