Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 172 for raerror (0.13 sec)

  1. src/internal/reflectlite/set_test.go

    	{new(mapError), new(error), true},
    	{new(*mapError), new(error), true},
    }
    
    type notAnExpr struct{}
    
    func (notAnExpr) Pos() token.Pos { return token.NoPos }
    func (notAnExpr) End() token.Pos { return token.NoPos }
    func (notAnExpr) exprNode()      {}
    
    type notASTExpr interface {
    	Pos() token.Pos
    	End() token.Pos
    	exprNode()
    }
    
    type mapError map[string]string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. security/pkg/server/ca/server_test.go

    			ca:             &mockca.FakeCA{SignErr: caerror.NewError(caerror.CANotReady, fmt.Errorf("cannot sign"))},
    			code:           codes.Internal,
    		},
    		"Invalid CSR": {
    			authenticators: []security.Authenticator{&mockAuthenticator{identities: []string{"test-identity"}}},
    			ca:             &mockca.FakeCA{SignErr: caerror.NewError(caerror.CSRError, fmt.Errorf("cannot sign"))},
    			code:           codes.InvalidArgument,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/os/error.go

    func (e *SyscallError) Unwrap() error { return e.Err }
    
    // Timeout reports whether this error represents a timeout.
    func (e *SyscallError) Timeout() bool {
    	t, ok := e.Err.(timeout)
    	return ok && t.Timeout()
    }
    
    // NewSyscallError returns, as an error, a new [SyscallError]
    // with the given system call name and error details.
    // As a convenience, if err is nil, NewSyscallError returns nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. internal/crypto/error.go

    	e := fmt.Errorf(format, a...)
    	ee := Error{}
    	ee.msg = e.Error()
    	ee.cause = errors.Unwrap(e)
    	return ee
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.cause }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    	// ErrInvalidEncryptionMethod indicates that the specified SSE encryption method
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/html/template/error.go

    import (
    	"fmt"
    	"text/template/parse"
    )
    
    // Error describes a problem encountered during template Escaping.
    type Error struct {
    	// ErrorCode describes the kind of error.
    	ErrorCode ErrorCode
    	// Node is the node that caused the problem, if known.
    	// If not nil, it overrides Name and Line.
    	Node parse.Node
    	// Name is the name of the template in which the error was encountered.
    	Name string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/webhook/error.go

    // represents a failure to talk to the webhook, not the webhook rejecting a
    // request.
    type ErrCallingWebhook struct {
    	WebhookName string
    	Reason      error
    	Status      *apierrors.StatusError
    }
    
    func (e *ErrCallingWebhook) Error() string {
    	if e.Reason != nil {
    		return fmt.Sprintf("failed calling webhook %q: %v", e.WebhookName, e.Reason)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 05 18:36:22 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcshared/testdata/main1.c

    int check_int8(void* handle, const char* fname, int8_t want) {
      int8_t (*fn)();
      fn = (int8_t (*)())dlsym(handle, fname);
      if (!fn) {
        fprintf(stderr, "ERROR: missing %s: %s\n", fname, dlerror());
        return 1;
      }
      signed char ret = fn();
      if (ret != want) {
        fprintf(stderr, "ERROR: %s=%d, want %d\n", fname, ret, want);
        return 1;
      }
      return 0;
    }
    
    int check_int32(void* handle, const char* fname, int32_t want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. pkg/network/error.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package network
    
    import (
    	"errors"
    	"net"
    	"net/http"
    )
    
    func IsUnexpectedListenerError(err error) bool {
    	if err == nil {
    		return false
    	}
    	if errors.Is(err, net.ErrClosed) {
    		return false
    	}
    	if errors.Is(err, http.ErrServerClosed) {
    		return false
    	}
    	return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 21 08:25:27 UTC 2023
    - 858 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcshared/testdata/main3.c

      void* handle = dlopen(argv[1], RTLD_LAZY | RTLD_GLOBAL);
      if (!handle) {
        fprintf(stderr, "ERROR: failed to open the shared library: %s\n",
                dlerror());
        return 2;
      }
    
      uintptr_t main_fn = (uintptr_t)dlsym(handle, "main.main");
      if (!main_fn) {
        fprintf(stderr, "ERROR: missing main.main: %s\n", dlerror());
        return 2;
      }
    
      // TODO(hyangah): check that main.main can run.
    
      printf("PASS\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 785 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

                hasError = false;
            } else {
                hasError = true;
                errors.forEach(this.errors::add);
            }
        }
    
        public int getNumberOfSuggestDocs() {
            return numberOfSuggestDocs;
        }
    
        public int getNumberOfInputDocs() {
            return numberOfInputDocs;
        }
    
        public boolean hasError() {
            return hasError;
        }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top