Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for errorCode (0.42 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

        streamId: Int,
        source: BufferedSource,
        byteCount: Int,
        last: Boolean,
      ): Boolean
    
      /** Indicates the reason why this stream was canceled. */
      fun onReset(
        streamId: Int,
        errorCode: ErrorCode,
      )
    
      companion object {
        @JvmField val CANCEL: PushObserver = PushObserverCancel()
    
        private class PushObserverCancel : PushObserver {
          override fun onRequest(
            streamId: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/types.go

    func ReadGo116ErrorData(err types.Error) (code ErrorCode, start, end token.Pos, ok bool) {
    	var data [3]int
    	// By coincidence all of these fields are ints, which simplifies things.
    	v := reflect.ValueOf(err)
    	for i, name := range []string{"go116code", "go116start", "go116end"} {
    		f := v.FieldByName(name)
    		if !f.IsValid() {
    			return 0, 0, 0, false
    		}
    		data[i] = int(f.Int())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. internal/s3select/simdj/errors.go

    import "fmt"
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/RealStream.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3.internal.duplex
    
    import mockwebserver3.Stream
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.internal.http2.Http2Stream
    import okio.buffer
    
    /** Adapt OkHttp's internal [Http2Stream] type to the public [Stream] type. */
    internal class RealStream(
      private val http2Stream: Http2Stream,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Dec 31 18:24:52 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode_string.go

    )
    
    func (i ErrorCode) String() string {
    	switch {
    	case i == -1:
    		return _ErrorCode_name_0
    	case 1 <= i && i <= 146:
    		i -= 1
    		return _ErrorCode_name_1[_ErrorCode_index_1[i]:_ErrorCode_index_1[i+1]]
    	default:
    		return "ErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.DoNotReadRequestBody
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.duplex.AsyncRequestBody
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.PlatformRule
    import okio.BufferedSink
    import okio.IOException
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. internal/s3select/json/errors.go

    package json
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. src/main/resources/CLMessages.properties

    ECL0068=InvalidKeyException occurred, because {0}
    ECL0069=NoSuchPaddingException occurred, because {0}
    ECL0070=Field({1}) of class({0}) not found
    ECL0071=SQLException(Message=[{0}], ErrorCode={1}, SQLState={2}) occurred
    ECL0072=SQLException(SQL=[{0}], Message=[{1}], ErrorCode={2}, SQLState={3}) occurred
    ECL0091=Illegal URL({0})
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                    return;
                case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                    int errorCode = (int)( in.read() & 0xFF );
                    close();
                    throw new NbtException( NbtException.ERR_SSN_SRVC, errorCode );
                case -1:
                    throw new NbtException( NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED );
                default:
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        // We may have been asked to cancel while creating the new stream and sending the request
        // headers, but there was still no stream to close.
        if (canceled) {
          stream!!.closeLater(ErrorCode.CANCEL)
          throw IOException("Canceled")
        }
        stream!!.readTimeout().timeout(chain.readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top