Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MultiError ¶
Types ¶
type ErrorCode ¶
type ErrorCode int64
const ( InvalidJSON ErrorCode = 1 + iota InvalidCertificateID InvalidCertificateName InvalidDeployID InvalidDeployName InvalidEnvironmentID InvalidEnvironmentName InvalidJobID InvalidJobName InvalidLoadBalancerID InvalidLoadBalancerName InvalidServiceID InvalidServiceName InvalidTaskID InvalidTaskName InvalidEntityType InvalidTagKey InvalidTagValue MissingParameter Throttled UnexpectedError FailedTagging )
type ServerError ¶
func New ¶
func New(code ErrorCode, err error) *ServerError
func Newf ¶
func Newf(code ErrorCode, format string, tokens ...interface{}) *ServerError
func (*ServerError) Error ¶
func (this *ServerError) Error() string
func (*ServerError) Model ¶
func (this *ServerError) Model() models.ServerError
Click to show internal directories.
Click to hide internal directories.