- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 182 for error_1 (0.46 sec)
-
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) -
staging/src/k8s.io/apimachinery/pkg/api/meta/errors.go
return fmt.Sprintf("%v matches multiple resources or kinds", e.PartialKind) } func (*AmbiguousKindError) Is(target error) bool { _, ok := target.(*AmbiguousKindError) return ok } func IsAmbiguousError(err error) bool { if err == nil { return false } return errors.Is(err, &AmbiguousResourceError{}) || errors.Is(err, &AmbiguousKindError{}) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 11 22:50:51 UTC 2022 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/errors.go
limitations under the License. */ package etcd3 import ( "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apiserver/pkg/storage" etcdrpc "go.etcd.io/etcd/api/v3/v3rpc/rpctypes" utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) func interpretWatchError(err error) error { switch { case err == etcdrpc.ErrCompacted: return errors.NewResourceExpired("The resourceVersion for the provided watch is too old.") } return err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 15:59:41 UTC 2022 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/errors.mlir
// RUN: tf-tfrt-opt -tf-to-tfrt %s -split-input-file -verify-diagnostics // expected-error @+1 {{failed to legalize operation 'func.func' that was explicitly marked illegal}} func.func @test_identity_wrong_type(%arg0: tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref> { %0 = "tf.SomeOp"(%arg0) : (tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref> func.return %0 : tensor<4x2x!tf_type.stringref>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 25 10:51:48 UTC 2022 - 428 bytes - Viewed (0) -
src/cmd/go/internal/script/errors.go
// license that can be found in the LICENSE file. package script import ( "errors" "fmt" ) // ErrUnexpectedSuccess indicates that a script command that was expected to // fail (as indicated by a "!" prefix) instead completed successfully. var ErrUnexpectedSuccess = errors.New("unexpected success") // A CommandError describes an error resulting from attempting to execute a // specific command. type CommandError struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:18:10 UTC 2022 - 1.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) -
internal/config/errors.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package config // UI errors var ( ErrInvalidXLValue = newErrFn( "Invalid drive path", "Please provide a fresh drive for single drive MinIO setup", "MinIO only supports fresh drive paths", ) ErrInvalidBrowserValue = newErrFn(
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 18 22:25:32 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/scanner/errors.go
"fmt" "go/token" "io" "sort" ) // In an [ErrorList], an error is represented by an *Error. // The position Pos, if valid, points to the beginning of // the offending token, and the error condition is described // by Msg. type Error struct { Pos token.Position Msg string } // Error implements the error interface. func (e Error) Error() string { if e.Pos.Filename != "" || e.Pos.IsValid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3K bytes - Viewed (0) -
src/internal/types/testdata/check/errors.go
func _() { 0 /* ERRORx "0 .* is not used" */ 0 /* ERRORx "0 .* is not used" */ 0 // ERRORx "0 .* is not used" 0 // ERRORx "0 .* is not used" } // Don't report spurious errors as a consequence of earlier errors. // Add more tests as needed. func _() { if err := foo /* ERROR "undefined" */ (); err != nil /* "no error here" */ {} } // Use unqualified names for package-local objects. type T struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors.go
} // InternalError renders a simple internal error func InternalError(w http.ResponseWriter, req *http.Request, err error) { http.Error(w, sanitizer.Replace(fmt.Sprintf("Internal Server Error: %q: %v", req.RequestURI, err)), http.StatusInternalServerError) utilruntime.HandleError(err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 21 16:18:47 UTC 2018 - 2.8K bytes - Viewed (0)