Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
Checks if the error is of type EventError and the ErrorCode is of type AlreadyExists
func IsEventAlreadyInTerminalStateError ¶
Checks if the error is of type EventError and the ErrorCode is of type EventAlreadyInTerminalStateError
func IsInvalidArguments ¶
Checks if the error is of type EventError and the ErrorCode is of type InvalidArgument
func IsNotFound ¶
Checks if the error is of type EventError and the ErrorCode is of type ExecutionNotFound
func IsResourceExhausted ¶
Checks if the error is of type EventError and the ErrorCode is of type ResourceExhausted
Types ¶
type ErrorCode ¶
type ErrorCode string
const ( AlreadyExists ErrorCode = "AlreadyExists" ExecutionNotFound ErrorCode = "ExecutionNotFound" ResourceExhausted ErrorCode = "ResourceExhausted" InvalidArgument ErrorCode = "InvalidArgument" EventSinkError ErrorCode = "EventSinkError" EventAlreadyInTerminalStateError ErrorCode = "EventAlreadyInTerminalStateError" )
type EventError ¶
func (EventError) Error ¶
func (r EventError) Error() string
Click to show internal directories.
Click to hide internal directories.