Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 937 for found_t (0.06 sec)

  1. docs/ja/docs/tutorial/handling-errors.md

    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    しかし、クライアントが`http://example.com/items/bar`(存在しない`item_id` `"bar"`)をリクエストした場合、HTTPステータスコード404("not found"エラー)と以下のJSONレスポンスが返されます:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | "豆知識"
    
    `HTTPException`を発生させる際には、`str`だけでなく、JSONに変換できる任意の値を`detail`パラメータとして渡すことができます。
    
    `dist`や`list`などを渡すことができます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      private void assertCastFails(long value) {
        try {
          Chars.checkedCast(value);
          fail("Cast to char should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        for (char x : VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe_test.go

    			args:           strings.Split("po not-a-pod", " "),
    			expectedString: "pods \"not-a-pod\" not found",
    			wantException:  true, // "istioctl experimental describe pod not-a-pod" should fail
    		},
    		{ // case 8 unknown service
    			args:           strings.Split("service not-a-service", " "),
    			expectedString: "services \"not-a-service\" not found",
    			wantException:  true, // "istioctl experimental describe service not-a-service" should fail
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InternetDomainName.java

      private static final Joiner DOT_JOINER = Joiner.on('.');
    
      /**
       * Value of {@link #publicSuffixIndex()} or {@link #registrySuffixIndex()} which indicates that no
       * relevant suffix was found.
       */
      private static final int NO_SUFFIX_FOUND = -1;
    
      /**
       * Value of {@link #publicSuffixIndexCache} or {@link #registrySuffixIndexCache} which indicates
       * that they were not initialized yet.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    result = JUnitXml()
    try:
      files = subprocess.check_output(
          ["grep", "-rlE", '(failures|errors)="[1-9]', sys.argv[1]]
      )
    except subprocess.CalledProcessError as e:
      print("No failures found to log!")
      exit(0)
    
    # For test cases, only show the ones that failed that have text (a log)
    seen = collections.Counter()
    runfiles_matcher = re.compile(r"(/.*\.runfiles/)")
    
    
    for f in files.strip().splitlines():
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. docs/pt/docs/deployment/manually.md

     │  🐍 main.py          │
     │                      │
     ╰──────────────────────╯
    
    <font color="#3465A4">INFO    </font> Importing module <font color="#4E9A06">main</font>
    <font color="#3465A4">INFO    </font> Found importable FastAPI app
    
     ╭─ <font color="#8AE234"><b>Importable FastAPI app</b></font> ─╮
     │                          │
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                val nonEmptyDirs = tmpTestFiles.entries.joinToString("\n") { (dir, relativePaths) ->
                    "${dir.absolutePath}:\n ${relativePaths.joinToString("\n ")}"
                }
                val errorMessage = "Found non-empty test files dir:\n$nonEmptyDirs"
                if (reportOnly.get()) {
                    println(errorMessage)
                } else {
                    throw GradleException(errorMessage)
                }
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      fun notFound() {
        webServer.enqueue(
          MockResponse.Builder()
            .status("HTTP/1.1 404 Not Found")
            .build(),
        )
        newWebSocket()
        clientListener.assertFailure(
          404,
          null,
          ProtocolException::class.java,
          "Expected HTTP 101 response but was '404 Not Found'",
        )
      }
    
      @Test
      fun clientTimeoutClosesBody() {
        webServer.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            }
            if (baseDir.mkdirs()) {
                logger.info("Created: {}", baseDir.getAbsolutePath());
            }
            if (!baseDir.isDirectory()) {
                throw new FessSystemException("Not found: " + baseDir.getAbsolutePath());
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Thumbnail Directory: {}", baseDir.getAbsolutePath());
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    
            boolean changed;
    
            // If file could not be found or was not valid, start from scratch
            if (metadata == null) {
                metadata = this.metadata;
    
                changed = true;
            } else {
                changed = metadata.merge(this.metadata);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top