Documentation
¶
Index ¶
- Constants
- func IsNotCreated(err error) bool
- func IsNotFound(err error) bool
- func IsNotRendered(err error) bool
- func IsTimeout(err error) bool
- func IsWrongType(err error) bool
- func NewNotCreatedError(message string) error
- func NewNotFoundError(message string) error
- func NewNotRenderedError(message string) error
- func NewTimeoutError(message string) error
- func NewWrongTypeError(message string) error
- type CommonReason
Constants ¶
const ( // error is not clear ReasonUnknown = "" // timeout error ReasonTimeout = "Timeout" // unable to create the resource ReasonNotCreated = "NotCreated" // resource could not be rendered error ReasonNotRendered = "NotRendered" // resource could not be found ReasonNotFound = "NotFound" // request is of wrong or unexpected type ReasonWrongType = "WrongType" )
Variables ¶
This section is empty.
Functions ¶
func IsNotCreated ¶
IsNotCreated determines if the error indicates that the resource was not created
func IsNotFound ¶
IsNotFound determines if the error indicates that the resource was not found
func IsNotRendered ¶
IsNotRendered determines if the error indicates that the resource was not rendered
func IsWrongType ¶
IsWrongType determines if the error indicates that the resource request was of a wrong or unexpected type
func NewNotCreatedError ¶
NewNotCreatedError returns an error indicating that a resource could not be created
func NewNotFoundError ¶
NewNotFoundError returns an error indicating that a resource could not be found
func NewNotRenderedError ¶
NewNotCreatedError returns an error indicating that a resource could not be created
func NewTimeoutError ¶
NewTimeoutError returns an error indicating that a resource occurred during execution of a testrun.
func NewWrongTypeError ¶
NewWrongTypeError returns an error indicating that a request was of a wrong or unexpected type