Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OMG (0.02 sec)

  1. docs_src/handling_errors/tutorial006.py

    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Aug 09 11:10:33 UTC 2020
    - 928 bytes
    - Viewed (0)
  2. test/fixedbugs/issue5607.go

    var Test2 = func() {
    	// The following initializer should not be part of init()
    	// The compiler used to generate a call to Panic() in init().
    	var _, x = Panic()
    	_ = x
    }
    
    func Panic() (int, int) {
    	panic("omg")
    	return 1, 2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 02 21:54:34 UTC 2013
    - 777 bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/install/internal/DefaultJavaToolchainProvisioningServiceTest.groovy

                mockResolver(new GradleException("Something went horribly wrong again")),
                mockResolver(Optional.of(DOWNLOAD)),
                mockResolver(new GradleException("OMG"))
            )
            def provisioningService = new DefaultJavaToolchainProvisioningService(registry, downloader, cache, providerFactory, buildOperationRunner, buildPlatform)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 23:01:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top