- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of about 10,000 for errorT (0.11 sec)
-
cmd/api-errors.go
} // toAPIErrorCode - Converts embedded errors. Convenience // function written to handle all cases where we have known types of // errors returned by underlying layers. func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) { if err == nil { return ErrNone } // Errors that are generated by net.Conn and any context errors must be handled here.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 92.1K bytes - Viewed (1) -
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) -
internal/s3select/json/errors.go
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 } func (err *s3Error) Error() string { return err.message }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/errors.go
import ( "fmt" ) type LookupPatchMetaError struct { Path string Err error } func (e LookupPatchMetaError) Error() string { return fmt.Sprintf("LookupPatchMetaError(%s): %v", e.Path, e.Err) } type FieldNotFoundError struct { Path string Field string } func (e FieldNotFoundError) Error() string { return fmt.Sprintf("unable to find api field %q in %s", e.Field, e.Path) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 20 22:35:14 UTC 2017 - 1.2K bytes - Viewed (0) -
internal/s3select/unused-errors.go
package s3select // ///////////////////////////////////////////////////////////////////// // // Validation errors. // // ///////////////////////////////////////////////////////////////////// func errExpressionTooLong(err error) *s3Error { return &s3Error{ code: "ExpressionTooLong", message: "The SQL expression is too long: The maximum byte-length for the SQL expression is 256 KB.",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 20 08:16:35 UTC 2024 - 17.5K 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) -
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) -
src/cmd/go/internal/mvs/errors.go
package mvs import ( "fmt" "strings" "golang.org/x/mod/module" ) // BuildListError decorates an error that occurred gathering requirements // while constructing a build list. BuildListError prints the chain // of requirements to the module where the error occurred. type BuildListError struct { Err error stack []buildListErrorElem } type buildListErrorElem struct { m module.Version
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 17:22:28 UTC 2023 - 3K bytes - Viewed (0) -
src/go/doc/testdata/error2.2.golden
// PACKAGE error2 IMPORTPATH testdata/error2 FILENAMES testdata/error2.go TYPES // type I0 interface { // contains filtered or unexported methods } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // contains filtered or unexported methods }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 337 bytes - Viewed (0) -
internal/config/lambda/event/errors.go
import ( "fmt" ) // ErrUnknownRegion - unknown region error. type ErrUnknownRegion struct { Region string } func (err ErrUnknownRegion) Error() string { return fmt.Sprintf("unknown region '%v'", err.Region) } // ErrARNNotFound - ARN not found error. type ErrARNNotFound struct { ARN ARN } func (err ErrARNNotFound) Error() string { return fmt.Sprintf("ARN '%v' not found", err.ARN) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.3K bytes - Viewed (0)