- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,877 for ErrorIs (0.17 sec)
-
internal/hash/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 hash import ( "errors" "fmt" ) // SHA256Mismatch - when content sha256 does not match with what was sent from client. type SHA256Mismatch struct { ExpectedSHA256 string CalculatedSHA256 string }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 15 21:08:54 UTC 2023 - 2.4K bytes - Viewed (0) -
cmd/typed-errors.go
package cmd import ( "errors" ) // errInvalidArgument means that input argument is invalid. var errInvalidArgument = errors.New("Invalid arguments specified") // errMethodNotAllowed means that method is not allowed. var errMethodNotAllowed = errors.New("Method not allowed") // errSignatureMismatch means signature did not match. var errSignatureMismatch = errors.New("Signature does not match")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 5.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/errors.go
// Required(). ErrorTypeRequired ErrorType = "RuleRequired" // ErrorTypeInvalid is used to report malformed values ErrorTypeInvalid ErrorType = "RuleInvalid" // ErrorTypeInternal is used to report other errors that are not related // to user input. See InternalError(). ErrorTypeInternal ErrorType = "InternalError"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 1.4K bytes - Viewed (0) -
internal/s3select/errors.go
package s3select import "strings" // SelectError - represents s3 select error specified in // https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html#RESTObjectSELECTContent-responses-special-errors. type SelectError interface { Cause() error ErrorCode() string ErrorMessage() string HTTPStatusCode() int Error() string } type s3Error struct { code string message string
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
cmd/erasure-errors.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "errors" // errErasureReadQuorum - did not meet read quorum. var errErasureReadQuorum = errors.New("Read failed. Insufficient number of drives online") // errErasureWriteQuorum - did not meet write quorum. var errErasureWriteQuorum = errors.New("Write failed. Insufficient number of drives online")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Aug 04 23:10:08 UTC 2022 - 1.2K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
The status codes in the 400 range mean that there was an error from the client. Remember all those **"404 Not Found"** errors (and jokes)? ## Use `HTTPException` To return HTTP responses with errors to the client you use `HTTPException`. ### Import `HTTPException` ```Python hl_lines="1" {!../../../docs_src/handling_errors/tutorial001.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/storage-errors.go
var errDoneForNow = errors.New("done for now") // errSkipFile returned by the fn() for readDirFn() when it needs // to proceed to next entry. var errSkipFile = errors.New("skip this file") var errIgnoreFileContrib = errors.New("ignore this file's contribution toward data-usage") // errXLBackend XL drive mode requires fresh deployment. var errXLBackend = errors.New("XL backend requires fresh drive")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.4K bytes - Viewed (0) -
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) -
cmd/xl-storage-errors.go
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 { return errors.Is(err, os.ErrPermission) || errors.Is(err, syscall.EROFS) } func osIsExist(err error) bool { return errors.Is(err, os.ErrExist)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K 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)