- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 168 for errorCh (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/errors.go
limitations under the License. */ package cel // Error is an implementation of the 'error' interface, which represents a // XValidation error. type Error struct { Type ErrorType Detail string } var _ error = &Error{} // Error implements the error interface. func (v *Error) Error() string { return v.Detail }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go
// It supports wrapped errors and returns StatusReasonUnknown when // the error is nil or doesn't have a status. func ReasonForError(err error) metav1.StatusReason { if status, ok := err.(APIStatus); ok || errors.As(err, &status) { return status.Status().Reason } return metav1.StatusReasonUnknown } func reasonAndCodeForError(err error) (metav1.StatusReason, int32) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 21 03:41:32 UTC 2022 - 30.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/errors.go
type errNotAcceptable struct { accepted []string } // NewNotAcceptableError returns an error of NotAcceptable which contains specified string func NewNotAcceptableError(accepted []string) error { return errNotAcceptable{accepted} } func (e errNotAcceptable) Error() string { return fmt.Sprintf("only the following media types are accepted: %v", strings.Join(e.accepted, ", ")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 18:03:59 UTC 2019 - 3.1K bytes - Viewed (0) -
maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java
* The error's stacktrace will be output when this error level is enabled. * * @param content * @param error */ void error(CharSequence content, Throwable error); /** * Send an exception to the user in the <b>error</b> error level.<br> * The stack trace for this exception will be output when this error level is enabled. *
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.6K bytes - Viewed (0) -
errors.go
// ErrSubQueryRequired sub query required ErrSubQueryRequired = errors.New("sub query required") // ErrInvalidData unsupported data ErrInvalidData = errors.New("unsupported data") // ErrUnsupportedDriver unsupported driver ErrUnsupportedDriver = errors.New("unsupported driver") // ErrRegistered registered ErrRegistered = errors.New("registered")
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Apr 26 02:53:17 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/errors.go
haveABI = abi } } } // Give a special error message for main symbol (see #24809). if name == "main.main" { reporter.Errorf(s, "function main is undeclared in the main package") } else if haveABI != ^obj.ABI(0) { reporter.Errorf(s, "relocation target %s not defined for %s (but is defined for %s)", name, reqABI, haveABI) } else { reporter.Errorf(s, "relocation target %s not defined", name) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:38:08 UTC 2022 - 1.9K bytes - Viewed (0) -
src/internal/oserror/errors.go
// Package oserror defines errors values used in the os package. // // These types are defined here to permit the syscall package to reference them. package oserror import "errors" var ( ErrInvalid = errors.New("invalid argument") ErrPermission = errors.New("permission denied") ErrExist = errors.New("file already exists") ErrNotExist = errors.New("file does not exist")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 02 17:57:18 UTC 2019 - 601 bytes - Viewed (0) -
pkg/kubelet/errors.go
limitations under the License. */ package kubelet import "errors" const ( // NetworkNotReadyErrorMsg is used to describe the error that network is not ready NetworkNotReadyErrorMsg = "network is not ready" ) var ( // ErrNetworkUnknown indicates the network state is unknown ErrNetworkUnknown = errors.New("network state unknown")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 02:40:51 UTC 2019 - 876 bytes - Viewed (0) -
internal/s3select/sql/errors.go
return &s3Error{ code: "InvalidQuery", message: err.Error(), statusCode: 400, cause: err, } } func errBadTableName(err error) *s3Error { return &s3Error{ code: "BadTableName", message: fmt.Sprintf("The table name is not supported: %v", err), statusCode: 400, cause: err, } } func errDataSource(err error) *s3Error { return &s3Error{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.6K bytes - Viewed (0) -
internal/s3select/csv/errors.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package csv import "errors" 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 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0)