- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ServerError (0.22 sec)
-
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpErrorStatusCodeExceptionTest.groovy
when: boolean serverError = new HttpErrorStatusCodeException('GET', 'http://localhost:8080/', statusCode, '') then: serverError where: statusCode << (500..599).collect { it } } def "can identify status code as non-server error"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.3K bytes - Viewed (0) -
src/net/rpc/client.go
package rpc import ( "bufio" "encoding/gob" "errors" "io" "log" "net" "net/http" "sync" ) // ServerError represents an error that has been returned from // the remote side of the RPC connection. type ServerError string func (e ServerError) Error() string { return string(e) } var ErrShutdown = errors.New("connection is shut down") // Call represents an active RPC.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 9K bytes - Viewed (0) -
src/net/rpc/server_test.go
codec.serviceMethod = serviceMethod codec.args = args codec.reply = reply codec.err = nil var serverError error if codec.server == nil { serverError = ServeRequest(codec) } else { serverError = codec.server.ServeRequest(codec) } if codec.err == nil && serverError != nil { codec.err = serverError } return codec.err } func (codec *CodecEmulator) ReadRequestHeader(req *Request) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 05:23:29 UTC 2023 - 19K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*Server).RegisterName", Method, 0}, {"(*Server).ServeCodec", Method, 0}, {"(*Server).ServeConn", Method, 0}, {"(*Server).ServeHTTP", Method, 0}, {"(*Server).ServeRequest", Method, 0}, {"(ServerError).Error", Method, 0}, {"Accept", Func, 0}, {"Call", Type, 0}, {"Call.Args", Field, 0}, {"Call.Done", Field, 0}, {"Call.Error", Field, 0}, {"Call.Reply", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)