- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ServerError (0.2 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)