errorsfakes

package
v6.34.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2018 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

This file was generated by counterfeiter

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

	StatusCodeStub func() int

	ErrorCodeStub func() string
	// contains filtered or unexported fields
}

func (*FakeHTTPError) Error

func (fake *FakeHTTPError) Error() string

func (*FakeHTTPError) ErrorCallCount

func (fake *FakeHTTPError) ErrorCallCount() int

func (*FakeHTTPError) ErrorCode

func (fake *FakeHTTPError) ErrorCode() string

func (*FakeHTTPError) ErrorCodeCallCount

func (fake *FakeHTTPError) ErrorCodeCallCount() int

func (*FakeHTTPError) ErrorCodeReturns

func (fake *FakeHTTPError) ErrorCodeReturns(result1 string)

func (*FakeHTTPError) ErrorReturns

func (fake *FakeHTTPError) ErrorReturns(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) StatusCodeReturns

func (fake *FakeHTTPError) StatusCodeReturns(result1 int)

Jump to

Keyboard shortcuts

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