Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCodes internal.ErrorCodes = internal.ErrorCodes{ 401: func(apiError *core.APIError) error { return &management.UnauthorizedError{ APIError: apiError, } }, 403: func(apiError *core.APIError) error { return &management.ForbiddenError{ APIError: apiError, } }, 404: func(apiError *core.APIError) error { return &management.NotFoundError{ APIError: apiError, } }, 429: func(apiError *core.APIError) error { return &management.TooManyRequestsError{ APIError: apiError, } }, 400: func(apiError *core.APIError) error { return &management.BadRequestError{ APIError: apiError, } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.