- Sort Score
- Num 10 results
- Language All
Results 901 - 910 of 1,758 for errorf (0.03 seconds)
-
docs/bucket/notifications/README.md
go func() { for { // Reconnect if the connection is lost. if stanConnection == nil || stanConnection.NatsConn() == nil || !stanConnection.NatsConn().IsConnected() { stanConnection, _ = stan.Connect("test-cluster", "test-client", stan.NatsURL("nats://yourusername:yoursecret@0.0.0.0:4222"), stan.SetConnectionLostHandler(func(c stan.Conn, _ error) { if c.NatsConn() != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 84.2K bytes - Click Count (0) -
api/go1.7.txt
pkg net/http/httptrace, type WroteRequestInfo struct, Err error pkg net/url, type URL struct, ForceQuery bool pkg os/exec, func CommandContext(context.Context, string, ...string) *Cmd pkg os/user, func LookupGroup(string) (*Group, error) pkg os/user, func LookupGroupId(string) (*Group, error) pkg os/user, method (*User) GroupIds() ([]string, error) pkg os/user, method (UnknownGroupError) Error() string
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 28 15:08:11 GMT 2016 - 13.6K bytes - Click Count (0) -
tests/test_union_body_discriminator_annotated.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 7.7K bytes - Click Count (0) -
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 assert response.json() == {"exception": "server-error"} def test_traceback_for_dependency_with_yield():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 03 22:37:12 GMT 2024 - 2.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
} else if (options.quiet().orElse(false)) { slf4jConfiguration.setRootLoggerLevel(Slf4jConfiguration.Level.ERROR); } // Verify that setRootLoggerLevel was called assertEquals(1, slf4jConfiguration.setRootLoggerLevelCallCount); assertEquals(Slf4jConfiguration.Level.ERROR, slf4jConfiguration.lastSetLevel); } // Mock classes for testing
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
docs/sts/assume-role.go
bs, err := io.ReadAll(f) if err != nil { log.Fatalf("Error reading session policy file: %v", err) } policy = string(bs) } stsOpts.Policy = policy } if expiryDuration != 0 { stsOpts.DurationSeconds = int(expiryDuration.Seconds()) } li, err := cr.NewSTSAssumeRole(stsEndpoint, stsOpts) if err != nil { log.Fatalf("Error initializing STS Identity: %v", err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Aug 17 01:24:54 GMT 2024 - 4.4K bytes - Click Count (1) -
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()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 3.1K bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p1/golden.txt
pkg p1, type EmbedURLPtr struct pkg p1, type EmbedURLPtr struct, embedded *URL pkg p1, type Embedded struct pkg p1, type Error interface { Error, Temporary } pkg p1, type Error interface, Error() string pkg p1, type Error interface, Temporary() bool pkg p1, type FuncType func(int, int, string) (*B, error) pkg p1, type I interface, Get //deprecated pkg p1, type I interface, Get(string) int64 pkg p1, type I interface, GetNamed(string) int64Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 24 16:04:17 GMT 2025 - 3.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
parserRequest.logger().error("Error determining working directory", e); } try { context.installationDirectory = getInstallationDirectory(context); } catch (Exception e) { context.parsingFailed = true; context.installationDirectory = context.cwd; parserRequest.logger().error("Error determining installation directory", e); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
tests/default_value_test.go
if err := DB.AutoMigrate(&Harumph{}); err != nil { t.Fatalf("Failed to migrate with default value, got error: %v", err) } harumph := Harumph{Email: "******@****.***"} if err := DB.Create(&harumph).Error; err != nil { t.Fatalf("Failed to create data with default value, got error: %v", err)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Apr 08 03:29:55 GMT 2024 - 2.3K bytes - Click Count (0)