Documentation ¶
Index ¶
- func BadGatewayError(w http.ResponseWriter, msg string, params ...interface{})
- func BadRequestError(w http.ResponseWriter, msg string, params ...interface{})
- func ConflictError(w http.ResponseWriter, msg string, params ...interface{})
- func ForbiddenError(w http.ResponseWriter, msg string, params ...interface{})
- 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, params ...interface{})
- func InvalidCredentialError(w http.ResponseWriter, msg string, params ...interface{})
- func InvalidInputError(w http.ResponseWriter, msg string, params ...interface{})
- func JsonClientError(w http.ResponseWriter, e *httputils.JSONClientError)
- func MissingParameterError(w http.ResponseWriter, param string)
- 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(resName string, resId string) *httputils.JSONClientError
- func NewForbiddenError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewGeneralError(err error) *httputils.JSONClientError
- func NewImageNotFoundError(imageId string) *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, error httputils.Error) *httputils.JSONClientError
- func NewMissingParameterError(paramName 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 NewOutOfResourceError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewPaymentError(msg string, params ...interface{}) *httputils.JSONClientError
- func NewProtectedResourceError(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 NewTimeoutError(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 NewWeakPasswordError() *httputils.JSONClientError
- func NotAcceptableError(w http.ResponseWriter, msg string, params ...interface{})
- func NotFoundError(w http.ResponseWriter, msg string, params ...interface{})
- func NotImplementedError(w http.ResponseWriter, msg string, params ...interface{})
- func OutOfQuotaError(w http.ResponseWriter, msg string, params ...interface{})
- func PaymentError(w http.ResponseWriter, msg string, params ...interface{})
- func ProtectedResourceError(w http.ResponseWriter, msg string, params ...interface{})
- func TenantNotFoundError(w http.ResponseWriter, msg string, params ...interface{})
- func TimeoutError(w http.ResponseWriter, msg string, params ...interface{})
- func UnauthorizedError(w http.ResponseWriter, msg string, params ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadGatewayError ¶
func BadGatewayError(w http.ResponseWriter, msg string, params ...interface{})
func BadRequestError ¶
func BadRequestError(w http.ResponseWriter, msg string, params ...interface{})
func ConflictError ¶
func ConflictError(w http.ResponseWriter, msg string, params ...interface{})
func ForbiddenError ¶
func ForbiddenError(w http.ResponseWriter, msg string, params ...interface{})
func GeneralServerError ¶
func GeneralServerError(w http.ResponseWriter, e error)
func InternalServerError ¶
func InternalServerError(w http.ResponseWriter, msg string, params ...interface{})
func InvalidCredentialError ¶
func InvalidCredentialError(w http.ResponseWriter, msg string, params ...interface{})
func InvalidInputError ¶
func InvalidInputError(w http.ResponseWriter, msg string, params ...interface{})
func JsonClientError ¶
func JsonClientError(w http.ResponseWriter, e *httputils.JSONClientError)
func MissingParameterError ¶
func MissingParameterError(w http.ResponseWriter, param string)
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(resName string, resId string) *httputils.JSONClientError
func NewForbiddenError ¶
func NewForbiddenError(msg string, params ...interface{}) *httputils.JSONClientError
func NewGeneralError ¶
func NewGeneralError(err error) *httputils.JSONClientError
func NewImageNotFoundError ¶
func NewImageNotFoundError(imageId string) *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 NewMissingParameterError ¶
func NewMissingParameterError(paramName 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 NewOutOfResourceError ¶
func NewOutOfResourceError(msg string, params ...interface{}) *httputils.JSONClientError
func NewPaymentError ¶
func NewPaymentError(msg string, params ...interface{}) *httputils.JSONClientError
func NewProtectedResourceError ¶
func NewProtectedResourceError(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 NewTimeoutError ¶
func NewTimeoutError(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 NewWeakPasswordError ¶
func NewWeakPasswordError() *httputils.JSONClientError
func NotAcceptableError ¶
func NotAcceptableError(w http.ResponseWriter, msg string, params ...interface{})
func NotFoundError ¶
func NotFoundError(w http.ResponseWriter, msg string, params ...interface{})
func NotImplementedError ¶
func NotImplementedError(w http.ResponseWriter, msg string, params ...interface{})
func OutOfQuotaError ¶
func OutOfQuotaError(w http.ResponseWriter, msg string, params ...interface{})
func PaymentError ¶
func PaymentError(w http.ResponseWriter, msg string, params ...interface{})
func ProtectedResourceError ¶
func ProtectedResourceError(w http.ResponseWriter, msg string, params ...interface{})
func TenantNotFoundError ¶
func TenantNotFoundError(w http.ResponseWriter, msg string, params ...interface{})
func TimeoutError ¶
func TimeoutError(w http.ResponseWriter, msg string, params ...interface{})
func UnauthorizedError ¶
func UnauthorizedError(w http.ResponseWriter, msg string, params ...interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.