(errCode APIErrorCode)
| 441 | } |
| 442 | |
| 443 | func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError { |
| 444 | return e.ToAPIErrWithErr(errCode, nil) |
| 445 | } |
| 446 | |
| 447 | // error code to APIError structure, these fields carry respective |
| 448 | // descriptions for all the error responses. |