- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 893 for isValid (0.06 sec)
-
docs/en/docs/tutorial/handling-errors.md
These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data. You can override these exception handlers with your own. ### Override request validation exceptions { #override-request-validation-exceptions } When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`. And it also includes a default exception handler for it.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
cmd/endpoint.go
if err != nil { return ep, fmt.Errorf("invalid URL endpoint format: invalid port number") } else if p < 1 || p > 65535 { return ep, fmt.Errorf("invalid URL endpoint format: port number must be between 1 to 65535") } } if i := strings.Index(host, "%"); i > -1 { host = host[:i] } if host == "" { return ep, fmt.Errorf("invalid URL endpoint format: empty host name") }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 34.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
} public void test_multipleNestedExceptions() { // Test with multiple nested exceptions Exception innerCause = new IllegalArgumentException("Invalid image format"); Exception middleCause = new RuntimeException("Processing failed", innerCause); ThumbnailGenerationException exception = new ThumbnailGenerationException("Thumbnail generation error", middleCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.2K bytes - Viewed (0) -
cmd/object_api_suite_test.go
if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } if bytesBuffer.String() != "The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed." { t.Errorf("%s: Invalid upload ID error mismatch.", instanceType) } } // Wrapper for calling testNonExistentBucketOperations for both Erasure and FS.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* This method retrieves the authenticated user information and creates an encrypted user code. * * @param request the HTTP servlet request * @return the user code from the user bean, or null if not found or invalid */ protected String getUserCodeFromUserBean(final HttpServletRequest request) { final SessionManager sessionManager = ComponentUtil.getComponent(SessionManager.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
tensorflow::GraphDef gdef; if (!tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &gdef)) { status->status = tensorflow::errors::Internal( "Invalid text proto for GraphDef: ", text_proto); return {}; } const auto& fdef_lib = gdef.library(); if (fdef_lib.gradient_size() > 0) { status->status = tensorflow::errors::Internal(
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 03:53:25 UTC 2025 - 29.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/LdapConfigurationException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * An exception thrown when LDAP configuration is invalid. */ public class LdapConfigurationException extends FessSystemException { private static final long serialVersionUID = 1L; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
assertNull(entry.name.buffer); } @Test @DisplayName("Should throw exception for invalid conformance") void testDecodeInvalidConformance() throws NdrException { // Given: Mocked buffer data with invalid conformance samr.SamrSamEntry entry = new samr.SamrSamEntry(); when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
* @return an array containing [hour, minute] * @throws FessSystemException if the time format is invalid */ protected static int[] parseTime(final String time) { final String[] froms = time.split(":"); if (froms.length != 2) { throw new FessSystemException("Invalid format: " + time); } final int[] values = new int[2]; values[0] = Integer.parseInt(froms[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
fail("Should have thrown FessSystemException"); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Invalid pruned tag")); } try { PrunedTag.parse(".css-only"); fail("Should have thrown FessSystemException"); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Invalid pruned tag")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0)