errorsfakes

package
v6.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeHTTPError

type FakeHTTPError struct {
	ErrorStub func() string

	ErrorCodeStub func() string

	StatusCodeStub func() int
	// contains filtered or unexported fields
}

func (*FakeHTTPError) Error

func (fake *FakeHTTPError) Error() string

func (*FakeHTTPError) ErrorCallCount

func (fake *FakeHTTPError) ErrorCallCount() int

func (*FakeHTTPError) ErrorCalls added in v6.45.0

func (fake *FakeHTTPError) ErrorCalls(stub func() string)

func (*FakeHTTPError) ErrorCode

func (fake *FakeHTTPError) ErrorCode() string

func (*FakeHTTPError) ErrorCodeCallCount

func (fake *FakeHTTPError) ErrorCodeCallCount() int

func (*FakeHTTPError) ErrorCodeCalls added in v6.45.0

func (fake *FakeHTTPError) ErrorCodeCalls(stub func() string)

func (*FakeHTTPError) ErrorCodeReturns

func (fake *FakeHTTPError) ErrorCodeReturns(result1 string)

func (*FakeHTTPError) ErrorCodeReturnsOnCall added in v6.45.0

func (fake *FakeHTTPError) ErrorCodeReturnsOnCall(i int, result1 string)

func (*FakeHTTPError) ErrorReturns

func (fake *FakeHTTPError) ErrorReturns(result1 string)

func (*FakeHTTPError) ErrorReturnsOnCall added in v6.45.0

func (fake *FakeHTTPError) ErrorReturnsOnCall(i int, result1 string)

func (*FakeHTTPError) Invocations

func (fake *FakeHTTPError) Invocations() map[string][][]interface{}

func (*FakeHTTPError) StatusCode

func (fake *FakeHTTPError) StatusCode() int

func (*FakeHTTPError) StatusCodeCallCount

func (fake *FakeHTTPError) StatusCodeCallCount() int

func (*FakeHTTPError) StatusCodeCalls added in v6.45.0

func (fake *FakeHTTPError) StatusCodeCalls(stub func() int)

func (*FakeHTTPError) StatusCodeReturns

func (fake *FakeHTTPError) StatusCodeReturns(result1 int)

func (*FakeHTTPError) StatusCodeReturnsOnCall added in v6.45.0

func (fake *FakeHTTPError) StatusCodeReturnsOnCall(i int, result1 int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL