Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for mymessage (0.12 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder error(Object message) {
            return style("." + Constants.MAVEN_STYLE_ERROR_NAME + ":-" + Constants.MAVEN_STYLE_ERROR_DEFAULT, message);
        }
    
        /**
         * Append message content in success style.
         * By default, bold green
         *
         * @param message the message to append
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
          assertFalse(message, getMap().containsKey(null));
        } catch (NullPointerException tolerated) {
          // Tolerated
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. cmd/warm-backend-gcs.go

    		// have StatusCode to help to convert to object errors.
    		return err
    	}
    
    	if len(googleAPIErr.Errors) == 0 {
    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
          assertFalse(message, getMap().containsKey(null));
        } catch (NullPointerException tolerated) {
          // Tolerated
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
    
        private PermittedMetaException(String message) {
          super(message);
        }
    
        abstract boolean isPermitted(Exception exception);
    
        void assertPermitted(Exception exception) {
          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
    
        private PermittedMetaException(String message) {
          super(message);
        }
    
        abstract boolean isPermitted(Exception exception);
    
        void assertPermitted(Exception exception) {
          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          Platform.get().log("Incorrect protocol: ${response.protocol}", Platform.WARN)
        }
    
        response.use {
          if (!response.isSuccessful) {
            throw IOException("response: " + response.code + " " + response.message)
          }
    
          val body = response.body
    
          if (body.contentLength() > MAX_RESPONSE_SIZE) {
            throw IOException(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    그리고 다음으로 이동하면 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> Flask의 응답을 볼 수 있습니다:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 18:56:37 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/custom-response.md

    ```Python hl_lines="9-14  17"
    {!../../docs_src/custom_response/tutorial009c.py!}
    ```
    
    Agora em vez de retornar:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...essa resposta retornará:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Obviamente, você provavelmente vai encontrar maneiras muito melhores de se aproveitar disso do que a formatação de JSON. 😉
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. cmd/api-response.go

    // but accepts the error message directly (this allows messages to be
    // dynamically generated.)
    func writeCustomErrorResponseJSON(ctx context.Context, w http.ResponseWriter, err APIError,
    	errBody string, reqURL *url.URL,
    ) {
    	reqInfo := logger.GetReqInfo(ctx)
    	errorResponse := APIErrorResponse{
    		Code:       err.Code,
    		Message:    errBody,
    		Resource:   reqURL.Path,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top