Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,984 for error_1 (0.09 sec)

  1. tests/test_exception_handlers.py

        with pytest.raises(RuntimeError):
            client.get("/server-error")
    
    
    def test_override_server_error_exception_response():
        client = TestClient(app, raise_server_exceptions=False)
        response = client.get("/server-error")
        assert response.status_code == 500
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. tests/test_generate_unique_id_function.py

                                        }
                                    }
                                },
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

        //
    
        @Override
        public void log(Level level, String message, Throwable error) {
            PrintWriter pw = level == Level.ERROR ? err : level == Level.WARN ? out : null;
            if (pw != null) {
                pw.print(level.name() + " " + message);
                if (error != null) {
                    error.printStackTrace(pw);
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. docs/sts/web-identity.py

                  "scope": "openid"}
    
        url = authorize_url + "?" + urllib.parse.urlencode(params)
        return url
    
    
    @app.route('/oauth2/callback')
    def callback():
        error = request.args.get('error', '')
        if error:
            return "Error: " + error
    
        authorization_code = request.args.get('code')
    
        data = {'grant_type': 'authorization_code',
                'code': authorization_code, 'redirect_uri': callback_uri}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        if (op_) {
          return errors::FailedPrecondition("Reset called on already built op.");
        }
        if (raw_device_name) {
          device_name_ = raw_device_name;
        }
        op_type_ = op;
        return absl::OkStatus();
      }
      absl::Status SetOpName(const char* const op_name) override {
        if (op_) {
          return errors::FailedPrecondition(
              "SetOpName called on already built op.");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. cmd/lock-rest-server-common.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    )
    
    var (
    	errLockConflict       = errors.New("lock conflict")
    	errLockNotInitialized = errors.New("lock not initialized")
    	errLockNotFound       = errors.New("lock not found")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 973 bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

            problemCollector.add(Problem.Severity.ERROR, "MESSAGE", 3, 5, new Exception());
            ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems());
            assertEquals(
                    "1 problem was encountered while building the effective toolchains" + LS
                            + "[ERROR] MESSAGE @ line 3, column 5" + LS,
                    e.getMessage());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(f, callback, directExecutor());
        f.cancel(true);
      }
    
      public void testThrowErrorFromGet() {
        Error error = new AssertionError("ASSERT!");
        ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
        MockCallback callback = new MockCallback(error);
        addCallback(f, callback, directExecutor());
      }
    
      public void testRuntimeExceptionFromGet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types_gen.go

    func (z *BatchJobSize) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 int64
    		zb0001, err = dc.ReadInt64()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = BatchJobSize(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BatchJobSize) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteInt64(int64(z))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Response.kt

        replaceWith = ReplaceWith(expression = "request"),
        level = DeprecationLevel.ERROR,
      )
      fun request(): Request = request
    
      @JvmName("-deprecated_protocol")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "protocol"),
        level = DeprecationLevel.ERROR,
      )
      fun protocol(): Protocol = protocol
    
      @JvmName("-deprecated_code")
      @Deprecated(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top