Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PlanNotFound represents a mocked response resulting from a plan not found. PlanNotFound = mock.Response{Response: http.Response{ StatusCode: 404, Body: mock.NewStringBody(`{}`), }} )
Functions ¶
func CheckErrType ¶
CheckErrType receives two errors, if either one is not nil, it triggers a comparison between the two, returning an error if the errors are not equal This function is useful for testing to ensure specific error types.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.