Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,208 for Error (0.03 sec)

  1. tests/test_exception_handlers.py

        with pytest.raises(RuntimeError):
            client.get("/server-error")
    
    
    def test_override_server_error_exception_response():
        client = TestClient(app, raise_server_exceptions=False)
        response = client.get("/server-error")
        assert response.status_code == 500
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/record.go

    }
    
    // Record - is a type containing columns and their values.
    type Record interface {
    	Get(name string) (*Value, error)
    
    	// Set a value.
    	// Can return a different record type.
    	Set(name string, value *Value) (Record, error)
    	WriteCSV(writer io.Writer, opts WriteCSVOpts) error
    	WriteJSON(writer io.Writer) error
    
    	// Clone the record and if possible use the destination provided.
    	Clone(dst Record) Record
    	Reset()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. api/go1.4.txt

    pkg syscall (windows-386), func CreateHardLink(*uint16, *uint16, uintptr) error
    pkg syscall (windows-386), func CreateSymbolicLink(*uint16, *uint16, uint32) error
    pkg syscall (windows-386), func DeviceIoControl(Handle, uint32, *uint8, uint32, *uint8, uint32, *uint32, *Overlapped) error
    pkg syscall (windows-386), func LoadCreateSymbolicLink() error
    pkg syscall (windows-amd64), const FILE_ATTRIBUTE_REPARSE_POINT = 1024
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  4. cmd/kms-handlers.go

    	}
    
    	stat, err := GlobalKMS.Status(ctx)
    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	resp, err := json.Marshal(stat)
    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, resp)
    }
    
    // KMSMetricsHandler - GET /minio/kms/v1/metrics
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		if contextCanceled(ctx) {
    			parts[idx] = &ObjectPartInfo{
    				Error:  ctx.Err().Error(),
    				Number: partNumber,
    			}
    			continue
    		}
    
    		if err := Access(pathJoin(volumeDir, pathutil.Dir(partMetaPath), fmt.Sprintf("part.%d", partNumber))); err != nil {
    			parts[idx] = &ObjectPartInfo{
    				Error:  err.Error(),
    				Number: partNumber,
    			}
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(f, callback, directExecutor());
        f.cancel(true);
      }
    
      public void testThrowErrorFromGet() {
        Error error = new AssertionError("ASSERT!");
        ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
        MockCallback callback = new MockCallback(error);
        addCallback(f, callback, directExecutor());
      }
    
      public void testRuntimeExceptionFromGet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. internal/config/lambda/event/targetlist.go

    package event
    
    import (
    	"fmt"
    	"net/http"
    	"strings"
    	"sync"
    )
    
    // Target - lambda target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Send(Event) (*http.Response, error)
    	Stat() TargetStat
    	Close() error
    }
    
    // TargetStats is a collection of stats for multiple targets.
    type TargetStats struct {
    	TargetStats map[string]TargetStat
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. api/go1.11.txt

    pkg syscall (netbsd-386), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (netbsd-386), func Pipe2([]int, int) error
    pkg syscall (netbsd-386-cgo), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (netbsd-386-cgo), func Pipe2([]int, int) error
    pkg syscall (netbsd-amd64), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (netbsd-amd64), func Pipe2([]int, int) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 22 03:48:56 UTC 2018
    - 25K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    }
    
    func errorWithMessage(errMsg string, gwc *gateway.Gateway, err error) error {
    	errorMsg := fmt.Sprintf("%s\t%v/%v", errMsg, gwc.Namespace, gwc.Name)
    	if err != nil {
    		errorMsg += fmt.Sprintf(": %s", err)
    	}
    	return errors.New(errorMsg)
    }
    
    func printWaypointStatus(ctx cli.Context, w *tabwriter.Writer, kubeClient kube.CLIClient, gw []gateway.Gateway) error {
    	var cond metav1.Condition
    	startTime := time.Now()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

            problemCollector.add(Problem.Severity.ERROR, "MESSAGE", 3, 5, new Exception());
            ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems());
            assertEquals(
                    "1 problem was encountered while building the effective toolchains" + LS
                            + "[ERROR] MESSAGE @ line 3, column 5" + LS,
                    e.getMessage());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top