MCPcopy
hub / github.com/cloudfoundry/cli / FakeHTTPError

Struct FakeHTTPError

cf/errors/errorsfakes/fake_httperror.go:10–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type FakeHTTPError struct {
11 ErrorStub func() string
12 errorMutex sync.RWMutex
13 errorArgsForCall []struct {
14 }
15 errorReturns struct {
16 result1 string
17 }
18 errorReturnsOnCall map[int]struct {
19 result1 string
20 }
21 ErrorCodeStub func() string
22 errorCodeMutex sync.RWMutex
23 errorCodeArgsForCall []struct {
24 }
25 errorCodeReturns struct {
26 result1 string
27 }
28 errorCodeReturnsOnCall map[int]struct {
29 result1 string
30 }
31 StatusCodeStub func() int
32 statusCodeMutex sync.RWMutex
33 statusCodeArgsForCall []struct {
34 }
35 statusCodeReturns struct {
36 result1 int
37 }
38 statusCodeReturnsOnCall map[int]struct {
39 result1 int
40 }
41 invocations map[string][][]interface{}
42 invocationsMutex sync.RWMutex
43}
44
45func (fake *FakeHTTPError) Error() string {
46 fake.errorMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected