Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InternalError (0.18 sec)

  1. cmd/api-errors.go

    		Description:    "You did not provide the number of bytes specified by the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInternalError: {
    		Code:           "InternalError",
    		Description:    "We encountered an internal error, please try again.",
    		HTTPStatusCode: http.StatusInternalServerError,
    	},
    	ErrInvalidAccessKeyID: {
    		Code:           "InvalidAccessKeyId",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/object-handlers.go

    		apiErr := errorCodes.ToAPIErr(s3Err)
    		// If not set, convert or use BadRequest
    		if s3Err == ErrNone {
    			apiErr = toAPIError(ctx, err)
    			if apiErr.Code == "InternalError" {
    				// Convert generic internal errors to bad requests.
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top