- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of about 10,000 for perror (0.1 sec)
-
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUError.h
* * 05-Sep-2004 Added internal test interface. (JDS) */ /** @file * Error handling functions (user interface). * CUnit uses a simple (and conventional) error handling strategy. * Functions that can generate errors set (and usually return) an * error code to indicate the run status. The error code can be
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 7.6K 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) -
pkg/controller/util/endpointslice/errors.go
*/ package endpointslice // StaleInformerCache errors indicate that the informer cache includes out of // date resources. type StaleInformerCache struct { msg string } // NewStaleInformerCache return StaleInformerCache with error mes func NewStaleInformerCache(msg string) *StaleInformerCache { return &StaleInformerCache{msg} } func (e *StaleInformerCache) Error() string { return e.msg }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 14 07:15:35 UTC 2021 - 1K 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/cmd/go/internal/script/errors.go
Line int Op string Args []string Err error } func cmdError(cmd *command, err error) *CommandError { return &CommandError{ File: cmd.file, Line: cmd.line, Op: cmd.name, Args: cmd.args, Err: err, } } func (e *CommandError) Error() string { if len(e.Args) == 0 { return fmt.Sprintf("%s:%d: %s: %v", e.File, e.Line, e.Op, e.Err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:18:10 UTC 2022 - 1.6K 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 {
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/parquet/errors.go
package parquet 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 { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K 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) -
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/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)