Documentation ¶
Index ¶
- func ProcessApiError(ctx context.Context, status_code int, body io.ReadCloser, err error) string
- func ProcessApiErrorInventory(ctx context.Context, status_code int, body io.ReadCloser) interface{}
- func ProcessInventoryApiError(ctx context.Context, action string, status_code int, body io.ReadCloser, ...) []string
- type ErrorDetail
- type ErrorInventory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessApiError ¶
func ProcessApiErrorInventory ¶
func ProcessApiErrorInventory(ctx context.Context, status_code int, body io.ReadCloser) interface{}
func ProcessInventoryApiError ¶ added in v0.2.0
Types ¶
type ErrorDetail ¶
type ErrorDetail struct {
Detail string `json:"detail,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.