Documentation ¶
Index ¶
- func BadGatewayError(w http.ResponseWriter, msg string)
- func BadRequestError(w http.ResponseWriter, msg string)
- func ConflictError(w http.ResponseWriter, msg string)
- func ForbiddenError(w http.ResponseWriter, msg string)
- func GeneralServerError(w http.ResponseWriter, e error)
- func HTTPError(w http.ResponseWriter, msg string, statusCode int, class string)
- func InternalServerError(w http.ResponseWriter, msg string)
- func InvalidCredentialError(w http.ResponseWriter, msg string)
- func InvalidInputError(w http.ResponseWriter, msg string)
- func JsonClientError(w http.ResponseWriter, e *httputils.JSONClientError)
- func NewActionNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewBadGatewayError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewBadRequestError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewConflictError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewDuplicateNameError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewForbiddenError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewGeneralError(err error) *httputils.JSONClientError
- func NewImageNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewInputParameterError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewInsufficientResourceError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewInternalServerError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewInvalidCredentialError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewInvalidStatusError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewJsonClientError(code int, title string, msg string) *httputils.JSONClientError
- func NewNotAcceptableError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewNotEmptyError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewNotImplementedError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewNotSufficientPrivilegeError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewOutOfQuotaError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewPaymentError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewRequireLicenseError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewResourceBusyError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewResourceNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewResourceNotReadyError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewServerStatusError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewSpecNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewTenantNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewUnauthorizedError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewUnsupportOperationError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewUserNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
- func NotAcceptableError(w http.ResponseWriter, msg string)
- func NotFoundError(w http.ResponseWriter, msg string)
- func NotImplementedError(w http.ResponseWriter, msg string)
- func OutOfQuotaError(w http.ResponseWriter, msg string, params ...interface{})
- func PaymentError(w http.ResponseWriter, msg string)
- func TenantNotFoundError(w http.ResponseWriter, msg string, params ...interface{})
- func UnauthorizedError(w http.ResponseWriter, msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadGatewayError ¶
func BadGatewayError(w http.ResponseWriter, msg string)
func BadRequestError ¶
func BadRequestError(w http.ResponseWriter, msg string)
func ConflictError ¶
func ConflictError(w http.ResponseWriter, msg string)
func ForbiddenError ¶
func ForbiddenError(w http.ResponseWriter, msg string)
func GeneralServerError ¶
func GeneralServerError(w http.ResponseWriter, e error)
func InternalServerError ¶
func InternalServerError(w http.ResponseWriter, msg string)
func InvalidCredentialError ¶
func InvalidCredentialError(w http.ResponseWriter, msg string)
func InvalidInputError ¶
func InvalidInputError(w http.ResponseWriter, msg string)
func JsonClientError ¶
func JsonClientError(w http.ResponseWriter, e *httputils.JSONClientError)
func NewActionNotFoundError ¶
func NewActionNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
func NewBadGatewayError ¶
func NewBadGatewayError(msg string, params ...interface{}) *httputils.JSONClientError
func NewBadRequestError ¶
func NewBadRequestError(msg string, params ...interface{}) *httputils.JSONClientError
func NewConflictError ¶
func NewConflictError(msg string, params ...interface{}) *httputils.JSONClientError
func NewDuplicateNameError ¶
func NewDuplicateNameError(msg string, params ...interface{}) *httputils.JSONClientError
func NewForbiddenError ¶
func NewForbiddenError(msg string, params ...interface{}) *httputils.JSONClientError
func NewGeneralError ¶
func NewGeneralError(err error) *httputils.JSONClientError
func NewImageNotFoundError ¶
func NewImageNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
func NewInputParameterError ¶
func NewInputParameterError(msg string, params ...interface{}) *httputils.JSONClientError
func NewInsufficientResourceError ¶
func NewInsufficientResourceError(msg string, params ...interface{}) *httputils.JSONClientError
func NewInternalServerError ¶
func NewInternalServerError(msg string, params ...interface{}) *httputils.JSONClientError
func NewInvalidCredentialError ¶
func NewInvalidCredentialError(msg string, params ...interface{}) *httputils.JSONClientError
func NewInvalidStatusError ¶
func NewInvalidStatusError(msg string, params ...interface{}) *httputils.JSONClientError
func NewJsonClientError ¶
func NewJsonClientError(code int, title string, msg string) *httputils.JSONClientError
func NewNotAcceptableError ¶
func NewNotAcceptableError(msg string, params ...interface{}) *httputils.JSONClientError
func NewNotEmptyError ¶
func NewNotEmptyError(msg string, params ...interface{}) *httputils.JSONClientError
func NewNotFoundError ¶
func NewNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
func NewNotImplementedError ¶
func NewNotImplementedError(msg string, params ...interface{}) *httputils.JSONClientError
func NewNotSufficientPrivilegeError ¶
func NewNotSufficientPrivilegeError(msg string, params ...interface{}) *httputils.JSONClientError
func NewOutOfQuotaError ¶
func NewOutOfQuotaError(msg string, params ...interface{}) *httputils.JSONClientError
func NewPaymentError ¶
func NewPaymentError(msg string, params ...interface{}) *httputils.JSONClientError
func NewRequireLicenseError ¶
func NewRequireLicenseError(msg string, params ...interface{}) *httputils.JSONClientError
func NewResourceBusyError ¶
func NewResourceBusyError(msg string, params ...interface{}) *httputils.JSONClientError
func NewResourceNotFoundError ¶
func NewResourceNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
func NewResourceNotReadyError ¶
func NewResourceNotReadyError(msg string, params ...interface{}) *httputils.JSONClientError
func NewServerStatusError ¶
func NewServerStatusError(msg string, params ...interface{}) *httputils.JSONClientError
func NewSpecNotFoundError ¶
func NewSpecNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
func NewTenantNotFoundError ¶
func NewTenantNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
func NewUnauthorizedError ¶
func NewUnauthorizedError(msg string, params ...interface{}) *httputils.JSONClientError
func NewUnsupportOperationError ¶
func NewUnsupportOperationError(msg string, params ...interface{}) *httputils.JSONClientError
func NewUserNotFoundError ¶
func NewUserNotFoundError(msg string, params ...interface{}) *httputils.JSONClientError
func NotAcceptableError ¶
func NotAcceptableError(w http.ResponseWriter, msg string)
func NotFoundError ¶
func NotFoundError(w http.ResponseWriter, msg string)
func NotImplementedError ¶
func NotImplementedError(w http.ResponseWriter, msg string)
func OutOfQuotaError ¶
func OutOfQuotaError(w http.ResponseWriter, msg string, params ...interface{})
func PaymentError ¶
func PaymentError(w http.ResponseWriter, msg string)
func TenantNotFoundError ¶
func TenantNotFoundError(w http.ResponseWriter, msg string, params ...interface{})
func UnauthorizedError ¶
func UnauthorizedError(w http.ResponseWriter, msg string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.