- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 2,083 for error (0.02 seconds)
-
cmd/typed-errors.go
// error returned when temporary account is not found var errNoSuchTempAccount = errors.New("Specified temporary account does not exist") // error returned when access key is not found var errNoSuchAccessKey = errors.New("Specified access key does not exist") // error returned in IAM subsystem when an account doesn't exist.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 5.9K bytes - Click Count (1) -
docs/en/docs/tutorial/handling-errors.md
} ] } ``` you will get a text version, with: ``` Validation errors: Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer ``` ### Override the `HTTPException` error handler { #override-the-httpexception-error-handler } The same way, you can override the `HTTPException` handler.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9K bytes - Click Count (0) -
internal/s3select/errors.go
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 } func errMalformedXML(err error) *s3Error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Mar 14 16:48:36 GMT 2022 - 4.3K bytes - Click Count (0) -
internal/hash/errors.go
type SizeTooLarge struct { Want int64 Got int64 } func (e SizeTooLarge) Error() string { return fmt.Sprintf("Size large: got %d, want %d", e.Got, e.Want) } // SizeMismatch error size mismatch type SizeMismatch struct { Want int64 Got int64 } func (e SizeMismatch) Error() string { return fmt.Sprintf("Size mismatch: got %d, want %d", e.Got, e.Want) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 15 21:08:54 GMT 2023 - 2.4K bytes - Click Count (0) -
internal/s3select/simdj/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 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.4K bytes - Click Count (0) -
cmd/xl-storage-errors.go
func isSysErrCrossDevice(err error) bool { return errors.Is(err, syscall.EXDEV) } // Check if given error corresponds to too many open files func isSysErrTooManyFiles(err error) bool { return errors.Is(err, syscall.ENFILE) || errors.Is(err, syscall.EMFILE) } func osIsNotExist(err error) bool { return errors.Is(err, os.ErrNotExist) } func osIsPermission(err error) bool {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Click Count (0) -
internal/kms/errors.go
} ) // Error is a KMS error that can be translated into an S3 API error. // // It does not implement the standard error Unwrap interface for // better error log messages. type Error struct { Code int // The HTTP status code returned to the client APICode string // The API error code identifying the error Err string // The error message returned to the client Cause error // Optional, lower level error cause. }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jul 16 14:03:03 GMT 2024 - 3.6K bytes - Click Count (0) -
internal/event/errors.go
} // ErrInvalidFilterName - invalid filter name error. type ErrInvalidFilterName struct { FilterName string } func (err ErrInvalidFilterName) Error() string { return fmt.Sprintf("invalid filter name '%v'", err.FilterName) } // ErrFilterNamePrefix - more than one prefix usage error. type ErrFilterNamePrefix struct{} func (err ErrFilterNamePrefix) Error() string { return "more than one prefix in filter rule" }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 4.1K bytes - Click Count (0) -
internal/config/errors-utils.go
if netErr, ok := err.(*net.OpError); ok { return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port") } } // Failed to identify what type of error this, return a simple UI error return Err{msg: err.Error()} } // FmtError converts a fatal error message to a more clear error // using some colors func FmtError(introMsg string, err error, jsonFlag bool) string {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.8K bytes - Click Count (0) -
internal/s3select/unused-errors.go
statusCode: 400, cause: err, } } func errColumnTooLong(err error) *s3Error { return &s3Error{ code: "ColumnTooLong", message: "The length of a column in the result is greater than maxCharsPerColumn of 1 MB.", statusCode: 400, cause: err, } } func errOverMaxColumn(err error) *s3Error { return &s3Error{ code: "OverMaxColumn",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 20 08:16:35 GMT 2024 - 17.5K bytes - Click Count (0)