Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,813 for error_ (0.25 sec)

  1. tests/error_translator_test.go

    package tests_test
    
    import (
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestDialectorWithErrorTranslatorSupport(t *testing.T) {
    	// it shouldn't translate error when the TranslateError flag is false
    	translatedErr := errors.New("translated error")
    	untranslatedErr := errors.New("some random error")
    	db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr})
    
    	err := db.AddError(untranslatedErr)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Jul 12 13:21:22 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/xl-storage-errors.go

    func isSysErrHandleInvalid(err error) bool {
    	if runtime.GOOS != globalWindowsOSName {
    		return false
    	}
    	// Check if err contains ERROR_INVALID_HANDLE errno
    	var pathErr *os.PathError
    	if errors.As(err, &pathErr) {
    		var errno syscall.Errno
    		if errors.As(pathErr.Err, &errno) {
    			// ERROR_PATH_NOT_FOUND
    			return errno == 0x6
    		}
    	}
    	return false
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/orig/view/error/error.jsp

    			<h2>
    				<la:message key="labels.error_title" />
    			</h2>
    			<div>
    				<la:info id="msg" message="true">
    					<div class="alert alert-info">${msg}</div>
    				</la:info>
    				<la:errors styleClass="list-unstyled"/>
    			</div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    	<input type="hidden" id="contextPath" value="<%=request.getContextPath()%>" />
    	<script type="text/javascript"
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/WinError.java

        public static final int ERROR_NO_BROWSER_SERVERS_FOUND = 6118;
    
        static final int[] WINERR_CODES = {
            ERROR_SUCCESS, ERROR_ACCESS_DENIED, ERROR_REQ_NOT_ACCEP, ERROR_BAD_PIPE, ERROR_PIPE_BUSY, ERROR_NO_DATA, ERROR_PIPE_NOT_CONNECTED,
            ERROR_MORE_DATA, ERROR_SERVICE_NOT_INSTALLED, ERROR_NO_BROWSER_SERVERS_FOUND,
        };
    
        static final String[] WINERR_MESSAGES = {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.4K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/error/error.jsp

    			<h2>
    				<la:message key="labels.error_title" />
    			</h2>
    			<div>
    				<la:info id="msg" message="true">
    					<div class="alert alert-info">${msg}</div>
    				</la:info>
    				<la:errors styleClass="list-unstyled"/>
    			</div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    	<input type="hidden" id="contextPath" value="<%=request.getContextPath()%>" />
    	<script type="text/javascript"
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/error/admin_error.jsp

                            <h1>
                                <la:message key="labels.error_title"/>
                            </h1>
                        </div>
                    </div>
                </div>
            </div>
            <section class="content">
                <div class="callout callout-danger lead">
                    <p>
                        <la:errors/>
                    </p>
                </div>
    
            </section>
        </div>
    
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 12:21:50 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/WinError.java

        static final int[] WINERR_CODES = {
            ERROR_SUCCESS,
            ERROR_ACCESS_DENIED,
            ERROR_REQ_NOT_ACCEP,
            ERROR_BAD_PIPE,
            ERROR_PIPE_BUSY,
            ERROR_NO_DATA,
            ERROR_PIPE_NOT_CONNECTED,
            ERROR_MORE_DATA,
            ERROR_NO_BROWSER_SERVERS_FOUND,
        };
    
        static final String[] WINERR_MESSAGES = {
            "The operation completed successfully.",
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.3K bytes
    - Viewed (0)
  8. src/test/resources/before_script.sh

    temp_json_file=/tmp/fess-log.$$
    touch ${temp_json_file}
    error_count=0
    while true ; do
      status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health")
      cat ${temp_json_file}
      if [[ x"${status}" = x200 ]] ; then
        break
      else
        error_count=$((error_count + 1))
      fi
      if [[ ${error_count} -ge 60 ]] ; then
        echo "Fess is not available."
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 863 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbException.java

                int max = DOS_ERROR_CODES.length - 1;
    
                while( max >= min ) {
                    int mid = (min + max) / 2;
    
                    if( errcode > DOS_ERROR_CODES[mid][0] ) {
                        min = mid + 1;
                    } else if( errcode < DOS_ERROR_CODES[mid][0] ) {
                        max = mid - 1;
                    } else {
                        return DOS_ERROR_MESSAGES[mid];
                    }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/TestUtil.java

    /** Utility methods used in various common.graph tests. */
    final class TestUtil {
      static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph";
      static final String ERROR_NODE_NOT_IN_GRAPH =
          "Should not be allowed to pass a node that is not an element of the graph.";
      static final String ERROR_ELEMENT_REMOVED = "used to generate this set";
      private static final String NODE_STRING = "Node";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top