Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Sets (0.14 sec)

  1. cmd/api-errors.go

    func getAPIError(code APIErrorCode) APIError {
    	if apiErr, ok := errorCodes[code]; ok {
    		return apiErr
    	}
    	return errorCodes.ToAPIErr(ErrInternalError)
    }
    
    // getErrorResponse gets in standard error and resource value and
    // provides a encodable populated response values
    func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse {
    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)
Back to top