Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Descriptions (0.34 sec)

  1. cmd/api-errors.go

    	apiErr, ok := e[errCode]
    	if !ok {
    		apiErr = e[ErrInternalError]
    	}
    	if err != nil {
    		apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err)
    	}
    	if globalSite.Region != "" {
    		if errCode == ErrAuthorizationHeaderMalformed {
    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region)
    			return apiErr
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  2. cmd/batch-handlers.go

    	return nil
    }
    
    //msgp:ignore batchReplicationJobError
    type batchReplicationJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     int64
    }
    
    func (e batchReplicationJobError) Error() string {
    	return e.Description
    }
    
    // Validate validates the job definition input
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top