- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for standart (0.14 sec)
-
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 (7)