- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 192 for raerror (0.13 sec)
-
security/pkg/pki/ca/mock/fakeca.go
// limitations under the License. package mock import ( "istio.io/istio/security/pkg/pki/ca" caerror "istio.io/istio/security/pkg/pki/error" "istio.io/istio/security/pkg/pki/util" ) // FakeCA is a mock of CertificateAuthority. type FakeCA struct { SignedCert []byte SignErr *caerror.Error KeyCertBundle *util.KeyCertBundle ReceivedIDs []string }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 03 18:57:19 UTC 2021 - 2.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
security/pkg/pki/error/error.go
CertGenError // CAIllegalConfig means the configuration/deployment parameters for CA are incorrect CAIllegalConfig // CAInitFail means some other unexpected and fatal initilization failure CAInitFail ) // Error encapsulates the short and long errors. type Error struct { t ErrType err error } // Error returns the string error message. func (e Error) Error() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 13 17:41:21 UTC 2020 - 2.1K bytes - Viewed (0) -
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) -
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) -
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)