Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasTransientError ¶ added in v1.4.2
HasTransientError is true if err has a TransientError in its wrap chain
Types ¶
type ConflictServiceError ¶ added in v1.4.1
type ConflictServiceError struct {
common.ServiceError
}
func (*ConflictServiceError) Error ¶ added in v1.4.1
func (e *ConflictServiceError) Error() string
func (*ConflictServiceError) GetCode ¶ added in v1.4.1
func (e *ConflictServiceError) GetCode() string
func (*ConflictServiceError) GetHTTPStatusCode ¶ added in v1.4.1
func (e *ConflictServiceError) GetHTTPStatusCode() int
func (*ConflictServiceError) GetMessage ¶ added in v1.4.1
func (e *ConflictServiceError) GetMessage() string
func (*ConflictServiceError) GetOpcRequestID ¶ added in v1.4.1
func (e *ConflictServiceError) GetOpcRequestID() string
type NotFoundServiceError ¶
type NotFoundServiceError struct {
common.ServiceError
}
helper struct since the oci go sdk doesn't let you create errors directly since the struct is private...
func (*NotFoundServiceError) Error ¶
func (e *NotFoundServiceError) Error() string
func (*NotFoundServiceError) GetCode ¶
func (e *NotFoundServiceError) GetCode() string
A short error code that defines the error, meant for programmatic parsing. See https://docs.cloud.oracle.com/Content/API/References/apierrors.htm
func (*NotFoundServiceError) GetHTTPStatusCode ¶
func (e *NotFoundServiceError) GetHTTPStatusCode() int
func (*NotFoundServiceError) GetMessage ¶
func (e *NotFoundServiceError) GetMessage() string
The human-readable error string as sent by the service
func (*NotFoundServiceError) GetOpcRequestID ¶
func (e *NotFoundServiceError) GetOpcRequestID() string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
type TransientError ¶ added in v1.4.2
type TransientError struct {
// contains filtered or unexported fields
}
TransientError : We will not publish events for an expected transient errors
func NewTransientError ¶ added in v1.4.2
func NewTransientError(err error) TransientError
func (TransientError) Error ¶ added in v1.4.2
func (e TransientError) Error() string
func (TransientError) GetWrappedError ¶ added in v1.4.2
func (e TransientError) GetWrappedError() error
Click to show internal directories.
Click to hide internal directories.