Documentation ¶
Index ¶
- type ErrorResponseManager
- type ErrorResponseManager_Expecter
- type ErrorResponseManager_Handle_Call
- type ErrorTypeResponseHandler
- func (_m *ErrorTypeResponseHandler) EXPECT() *ErrorTypeResponseHandler_Expecter
- func (_m *ErrorTypeResponseHandler) ErrorType() error
- func (_m *ErrorTypeResponseHandler) Handle(err error) *response.APIResponseEnvelope
- func (_m *ErrorTypeResponseHandler) IsSupported(err error) bool
- func (_m *ErrorTypeResponseHandler) Priority() int
- type ErrorTypeResponseHandler_ErrorType_Call
- type ErrorTypeResponseHandler_Expecter
- func (_e *ErrorTypeResponseHandler_Expecter) ErrorType() *ErrorTypeResponseHandler_ErrorType_Call
- func (_e *ErrorTypeResponseHandler_Expecter) Handle(err interface{}) *ErrorTypeResponseHandler_Handle_Call
- func (_e *ErrorTypeResponseHandler_Expecter) IsSupported(err interface{}) *ErrorTypeResponseHandler_IsSupported_Call
- func (_e *ErrorTypeResponseHandler_Expecter) Priority() *ErrorTypeResponseHandler_Priority_Call
- type ErrorTypeResponseHandler_Handle_Call
- type ErrorTypeResponseHandler_IsSupported_Call
- type ErrorTypeResponseHandler_Priority_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponseManager ¶
ErrorResponseManager is an autogenerated mock type for the ErrorResponseManager type
func NewErrorResponseManager ¶
func NewErrorResponseManager(t mockConstructorTestingTNewErrorResponseManager) *ErrorResponseManager
NewErrorResponseManager creates a new instance of ErrorResponseManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ErrorResponseManager) EXPECT ¶
func (_m *ErrorResponseManager) EXPECT() *ErrorResponseManager_Expecter
func (*ErrorResponseManager) Handle ¶
func (_m *ErrorResponseManager) Handle(err error) *response.APIResponseEnvelope
Handle provides a mock function with given fields: err
type ErrorResponseManager_Expecter ¶
type ErrorResponseManager_Expecter struct {
// contains filtered or unexported fields
}
func (*ErrorResponseManager_Expecter) Handle ¶
func (_e *ErrorResponseManager_Expecter) Handle(err interface{}) *ErrorResponseManager_Handle_Call
Handle is a helper method to define mock.On call
- err error
type ErrorResponseManager_Handle_Call ¶
ErrorResponseManager_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*ErrorResponseManager_Handle_Call) Return ¶
func (_c *ErrorResponseManager_Handle_Call) Return(_a0 *response.APIResponseEnvelope) *ErrorResponseManager_Handle_Call
func (*ErrorResponseManager_Handle_Call) Run ¶
func (_c *ErrorResponseManager_Handle_Call) Run(run func(err error)) *ErrorResponseManager_Handle_Call
type ErrorTypeResponseHandler ¶
ErrorTypeResponseHandler is an autogenerated mock type for the ErrorTypeResponseHandler type
func NewErrorTypeResponseHandler ¶
func NewErrorTypeResponseHandler(t mockConstructorTestingTNewErrorTypeResponseHandler) *ErrorTypeResponseHandler
NewErrorTypeResponseHandler creates a new instance of ErrorTypeResponseHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ErrorTypeResponseHandler) EXPECT ¶
func (_m *ErrorTypeResponseHandler) EXPECT() *ErrorTypeResponseHandler_Expecter
func (*ErrorTypeResponseHandler) ErrorType ¶
func (_m *ErrorTypeResponseHandler) ErrorType() error
ErrorType provides a mock function with given fields:
func (*ErrorTypeResponseHandler) Handle ¶
func (_m *ErrorTypeResponseHandler) Handle(err error) *response.APIResponseEnvelope
Handle provides a mock function with given fields: err
func (*ErrorTypeResponseHandler) IsSupported ¶
func (_m *ErrorTypeResponseHandler) IsSupported(err error) bool
IsSupported provides a mock function with given fields: err
func (*ErrorTypeResponseHandler) Priority ¶
func (_m *ErrorTypeResponseHandler) Priority() int
Priority provides a mock function with given fields:
type ErrorTypeResponseHandler_ErrorType_Call ¶
ErrorTypeResponseHandler_ErrorType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ErrorType'
func (*ErrorTypeResponseHandler_ErrorType_Call) Return ¶
func (_c *ErrorTypeResponseHandler_ErrorType_Call) Return(_a0 error) *ErrorTypeResponseHandler_ErrorType_Call
func (*ErrorTypeResponseHandler_ErrorType_Call) Run ¶
func (_c *ErrorTypeResponseHandler_ErrorType_Call) Run(run func()) *ErrorTypeResponseHandler_ErrorType_Call
type ErrorTypeResponseHandler_Expecter ¶
type ErrorTypeResponseHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*ErrorTypeResponseHandler_Expecter) ErrorType ¶
func (_e *ErrorTypeResponseHandler_Expecter) ErrorType() *ErrorTypeResponseHandler_ErrorType_Call
ErrorType is a helper method to define mock.On call
func (*ErrorTypeResponseHandler_Expecter) Handle ¶
func (_e *ErrorTypeResponseHandler_Expecter) Handle(err interface{}) *ErrorTypeResponseHandler_Handle_Call
Handle is a helper method to define mock.On call
- err error
func (*ErrorTypeResponseHandler_Expecter) IsSupported ¶
func (_e *ErrorTypeResponseHandler_Expecter) IsSupported(err interface{}) *ErrorTypeResponseHandler_IsSupported_Call
IsSupported is a helper method to define mock.On call
- err error
func (*ErrorTypeResponseHandler_Expecter) Priority ¶
func (_e *ErrorTypeResponseHandler_Expecter) Priority() *ErrorTypeResponseHandler_Priority_Call
Priority is a helper method to define mock.On call
type ErrorTypeResponseHandler_Handle_Call ¶
ErrorTypeResponseHandler_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*ErrorTypeResponseHandler_Handle_Call) Return ¶
func (_c *ErrorTypeResponseHandler_Handle_Call) Return(_a0 *response.APIResponseEnvelope) *ErrorTypeResponseHandler_Handle_Call
func (*ErrorTypeResponseHandler_Handle_Call) Run ¶
func (_c *ErrorTypeResponseHandler_Handle_Call) Run(run func(err error)) *ErrorTypeResponseHandler_Handle_Call
type ErrorTypeResponseHandler_IsSupported_Call ¶
ErrorTypeResponseHandler_IsSupported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSupported'
func (*ErrorTypeResponseHandler_IsSupported_Call) Return ¶
func (_c *ErrorTypeResponseHandler_IsSupported_Call) Return(_a0 bool) *ErrorTypeResponseHandler_IsSupported_Call
func (*ErrorTypeResponseHandler_IsSupported_Call) Run ¶
func (_c *ErrorTypeResponseHandler_IsSupported_Call) Run(run func(err error)) *ErrorTypeResponseHandler_IsSupported_Call
type ErrorTypeResponseHandler_Priority_Call ¶
ErrorTypeResponseHandler_Priority_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Priority'
func (*ErrorTypeResponseHandler_Priority_Call) Return ¶
func (_c *ErrorTypeResponseHandler_Priority_Call) Return(_a0 int) *ErrorTypeResponseHandler_Priority_Call
func (*ErrorTypeResponseHandler_Priority_Call) Run ¶
func (_c *ErrorTypeResponseHandler_Priority_Call) Run(run func()) *ErrorTypeResponseHandler_Priority_Call