Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for OK (0.12 sec)

  1. cmd/api-errors.go

    	apiErrCodeEnd // This is used only for the testing code
    )
    
    type errorCodeMap map[APIErrorCode]APIError
    
    func (e errorCodeMap) ToAPIErrWithErr(errCode APIErrorCode, err error) APIError {
    	apiErr, ok := e[errCode]
    	if !ok {
    		apiErr = e[ErrInternalError]
    	}
    	if err != nil {
    		apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err)
    	}
    	if globalSite.Region != "" {
    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)
Back to top