Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,417 for Mirror (0.06 sec)

  1. tests/test_additional_responses_response_class.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",
        response_class=JsonApiResponse,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. tests/test_additional_responses_router.py

    
    @router.get("/a", responses={501: {"description": "Error 1"}})
    async def a():
        return "a"
    
    
    @router.get(
        "/b",
        responses={
            502: {"description": "Error 2"},
            "4XX": {"description": "Error with range, upper"},
        },
    )
    async def b():
        return "b"
    
    
    @router.get(
        "/c",
        responses={
            "400": {"description": "Error with str"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

         * @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
         * @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
         * @param cause The nested cause of this error, may be {@code null}.
         */
        public ToolchainsParseException(String message, int lineNumber, int columnNumber, Throwable cause) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. tests/test_application.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         * Sends an exception to the user in the <b>error</b> error level.
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error the error that caused this log
         */
        void error(Throwable error);
    
        void error(Supplier<String> content);
    
        void error(Supplier<String> content, Throwable error);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            System.err.println("[error] " + content.toString());
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#error(java.lang.CharSequence, java.lang.Throwable)
         */
        @Override
        public void error(CharSequence content, Throwable error) {
            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MojoLogWrapper.java

        public void error(CharSequence content, Throwable error) {
            if (isErrorEnabled()) {
                logger.error(toString(content), error);
            }
        }
    
        @Override
        public void error(Throwable error) {
            logger.error("", error);
        }
    
        @Override
        public boolean isDebugEnabled() {
            return logger.isDebugEnabled();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

         *         <code>false</code> otherwise
         * @throws CIFSException if an error occurs accessing the resource
         */
        boolean exists() throws CIFSException;
    
        /**
         * Fetch a child resource
         *
         * @param name the name of the child resource to resolve
         * @return the child resource
         * @throws CIFSException if an error occurs accessing the resource
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb/SmbException.java

            this.status = NT_STATUS_UNSUCCESSFUL;
        }
    
        /**
         * Constructs an SmbException with the specified error code
         *
         * @param errcode the error code (either SMB or Windows error code)
         * @param winerr true if errcode is a Windows error code, false if it's an SMB error code
         */
        public SmbException(final int errcode, final boolean winerr) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

      @Override
      public void run() {
        T result = null;
        Throwable error = null;
        if (isDone()) {
          return;
        }
        try {
          result = runInterruptibly();
        } catch (Throwable t) {
          error = t;
        }
        if (error == null) {
          // The cast is safe because of the `run` and `error` checks.
          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top