Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Ferrari (0.17 sec)

  1. cmd/api-errors_test.go

    func TestAPIErrCodeDefinition(t *testing.T) {
    	for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ {
    		errCode, ok := errorCodes[errAPI]
    		if !ok {
    			t.Fatal(errAPI, "error code is not defined in the API error code table")
    		}
    		if errCode.Code == "" {
    			t.Fatal(errAPI, "error code has an empty XML code")
    		}
    		if errCode.HTTPStatusCode == 0 {
    			t.Fatal(errAPI, "error code has a zero HTTP status code")
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 15:13:08 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top