- Sort Score
- Num 10 results
- Language All
Results 1031 - 1040 of 1,559 for ERROR (0.02 seconds)
-
tests/test_tutorial/test_body_nested_models/test_tutorial006.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 8.7K bytes - Click Count (0) -
internal/bucket/lifecycle/noncurrentversion_test.go
package lifecycle import "testing" func Test_NoncurrentVersionsExpiration_Validation(t *testing.T) { testcases := []struct { n NoncurrentVersionExpiration err error }{ { n: NoncurrentVersionExpiration{ NoncurrentDays: 0, NewerNoncurrentVersions: 0, set: true, }, err: errXMLNotWellFormed, }, {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Dec 14 17:41:44 GMT 2021 - 2.1K bytes - Click Count (0) -
internal/config/compress/compress_test.go
} for _, testCase := range testCases { t.Run(testCase.str, func(t *testing.T) { gotPatterns, err := parseCompressIncludes(testCase.str) if !testCase.success && err == nil { t.Error("expected failure but success instead") } if testCase.success && err != nil { t.Errorf("expected success but failed instead %s", err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K bytes - Click Count (0) -
docs_src/handling_errors/tutorial006_py39.py
from starlette.exceptions import HTTPException as StarletteHTTPException app = FastAPI() @app.exception_handler(StarletteHTTPException) async def custom_http_exception_handler(request, exc): print(f"OMG! An HTTP error!: {repr(exc)}") return await http_exception_handler(request, exc) @app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 928 bytes - Click Count (0) -
cmd/rebalstatus_string.go
// Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[rebalNone-0] _ = x[rebalStarted-1] _ = x[rebalCompleted-2] _ = x[rebalStopped-3] _ = x[rebalFailed-4] }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Oct 25 19:36:57 GMT 2022 - 795 bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
handler -->> client: HTTP error response end dep ->> operation: Run dependency, e.g. DB session opt raise operation -->> dep: Raise Exception (e.g. HTTPException) opt handle dep -->> dep: Can catch exception, raise a new HTTPException, raise other exception end handler -->> client: HTTP error response endCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 19.7K bytes - Click Count (0) -
internal/event/config_test.go
{"Hello/世界", false}, } for i, testCase := range testCases { err := ValidateFilterRuleValue(testCase.value) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } } } func TestFilterRuleUnmarshalXML(t *testing.T) { testCases := []struct { data []byte expectedResult *FilterRuleCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 28.9K bytes - Click Count (0) -
cmd/xl-storage-format_test.go
} } testCasesFailure := []struct { totalSize int64 partSize int64 partIndex int err error }{ // partSize is 0, returns error. {10, 0, 1, errPartSizeZero}, // partIndex is 0, returns error. {10, 1, 0, errPartSizeIndex}, // Total size is -1, returns error. {-2, 10, 1, errInvalidArgument}, } for i, testCaseFailure := range testCasesFailure {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
cmd/stserrorcode_string.go
// Code generated by "stringer -type=STSErrorCode -trimprefix=Err sts-errors.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[ErrSTSNone-0] _ = x[ErrSTSAccessDenied-1] _ = x[ErrSTSMissingParameter-2] _ = x[ErrSTSInvalidParameterValue-3]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 05 00:29:41 GMT 2025 - 1.5K bytes - Click Count (0) -
docs/extensions/s3zip/examples/aws-js/main.js
s3.listObjectsV2({Bucket : 'your-bucket', Prefix: 'path/to/file.zip/'}). on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }). send(function(err, data) { if (err) { console.log("Error", err); } else { console.log("Success", data); } }); // Download a file in the archive and store it in /tmp/data.csv var file = require('fs').createWriteStream('/tmp/data.csv');
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jun 10 15:17:03 GMT 2021 - 1K bytes - Click Count (0)