(err error, details ...protoadapt.MessageV1)
| 36 | } |
| 37 | |
| 38 | func NewInternalApiError(err error, details ...protoadapt.MessageV1) *apiError { |
| 39 | return newAPIError(convertToStatus(codes.Internal, err, details...)) |
| 40 | } |
| 41 | |
| 42 | func NewUnavailableApiError(err error, details ...protoadapt.MessageV1) *apiError { |
| 43 | return newAPIError(convertToStatus(codes.Unavailable, err, details...)) |
no test coverage detected