package
0.0.0-20240516065436-a2bc238b4b59
Repository: https://github.com/tools-go/go-utils.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
IsBadRequestError judges error is errBadRequest.
IsClientError judeges error is IsClientError.
IsConflictError judges error is errConflict.
No description provided by the author
IsForbiddenError judges error is errForbidden.
IsInvalidRegionError judges error is errInvalidRegion.
IsNotFoundError judges error is errNotFound.
IsNotReadyError judges error is errNotReady.
No description provided by the author
No description provided by the author
IsTaskIsRunningError judges error is errTaskIsRunning.
New returns an error that formats as the given text.
NewBadRequestError create a new not found error.
NewClientError return a ClientError with the msg.
NewConflictError create a new conflict error.
No description provided by the author
NewForbiddenError create a new not found error.
NewInvalidRegionError create a new not found error.
NewNotFoundError create a new not found error.
NewNotReadyError create a new not ready error.
No description provided by the author
NewServerError return a ServerError with the msg.
NewTaskIsRunningError create a new task is running error.
# Structs
ClientError is an error caused by request client.
No description provided by the author
ServerError is an error caused by request client.