- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 2,555 for erro (0.02 seconds)
-
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
Throwable ioCause = new java.io.IOException("IO error"); GsaConfigException ioException = new GsaConfigException("GSA IO error", ioCause); assertNotNull(ioException); assertTrue(ioException.getCause() instanceof java.io.IOException); // Test with custom exception Throwable customCause = new FessSystemException("Custom Fess error");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
src/cmd/asm/internal/asm/expr_test.go
func TestBadExpr(t *testing.T) { for i, test := range badExprTests { err := runBadTest(i, test, t) if err == nil { if test.error != "" { t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error) } continue } if !strings.Contains(err.Error(), test.error) { t.Errorf("#%d: expected error %q; got %q", i, test.error, err) continue } } }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.2K bytes - Click Count (0) -
internal/config/dns/operator_dns.go
defer cancel() e, err := c.endpoint(bucket, true) if err != nil { return err } req, err := http.NewRequestWithContext(ctx, http.MethodPost, e, nil) if err != nil { return err } if err = c.addAuthHeader(req); err != nil { return err } resp, err := c.httpClient.Do(req) if err != nil { return err } xhttp.DrainBody(resp.Body)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 6.6K bytes - Click Count (0) -
cmd/logging.go
logger.LogOnceIf(ctx, "internal", err, id, errKind...) } func transitionLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "transition", err, errKind...) } func configLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "config", err, errKind...) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
tests/test_additional_responses_custom_validationerror.py
class JsonApiResponse(JSONResponse): media_type = "application/vnd.api+json" class Error(BaseModel): status: str title: str class JsonApiError(BaseModel): errors: list[Error] @app.get( "/a/{id}", response_class=JsonApiResponse, responses={422: {"description": "Error", "model": JsonApiError}}, ) async def a(id): pass # pragma: no cover
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorBusyAction.java
* Default constructor for ErrorBusyAction. */ public ErrorBusyAction() { super(); } /** * Displays the busy error page. * * @param form the error form containing error information * @return HTML response for the busy error page */ @Execute public HtmlResponse index(final ErrorForm form) { return asHtml(virtualHost(path_Error_BusyJsp)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Feb 10 04:24:02 GMT 2026 - 1.4K bytes - Click Count (0) -
tests/update_has_many_test.go
func TestUpdateHasManyAssociations(t *testing.T) { user := *GetUser("update-has-many", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 2K bytes - Click Count (0) -
internal/grid/stream.go
func (s *Stream) Results(next func(b []byte) error) (err error) { done := false defer func() { if s.cancel != nil { s.cancel(err) } if !done { // Drain channel. for range s.responses { } } }() doneCh := s.ctx.Done() for { select { case <-doneCh: if err := context.Cause(s.ctx); !errors.Is(err, errStreamEOF) { return err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (0) -
internal/kms/errors.go
if e.Cause == nil { return e.Err } return fmt.Sprintf("%s: %v", e.Err, e.Cause) } func errKeyCreationFailed(err error) Error { return Error{ Code: http.StatusInternalServerError, APICode: "kms:KeyCreationFailed", Err: "failed to create KMS key", Cause: err, } } func errKeyDeletionFailed(err error) Error { return Error{ Code: http.StatusInternalServerError,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 16 14:03:03 GMT 2024 - 3.6K bytes - Click Count (0)