Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationError ¶
MockApplicationError is a mock implementation of the ApplicationErrorInterface
func (*MockApplicationError) Code ¶
func (e *MockApplicationError) Code() string
func (*MockApplicationError) Error ¶
func (e *MockApplicationError) Error() string
func (*MockApplicationError) HTTPStatus ¶
func (e *MockApplicationError) HTTPStatus() int
func (*MockApplicationError) IsApplicationError ¶
func (e *MockApplicationError) IsApplicationError() bool
type MockNotFoundError ¶
MockNotFoundError is a mock implementation of the NotFoundErrorInterface
func (*MockNotFoundError) Code ¶
func (e *MockNotFoundError) Code() string
func (*MockNotFoundError) Error ¶
func (e *MockNotFoundError) Error() string
func (*MockNotFoundError) HTTPStatus ¶
func (e *MockNotFoundError) HTTPStatus() int
func (*MockNotFoundError) IsNotFoundError ¶
func (e *MockNotFoundError) IsNotFoundError() bool
type MockRepositoryError ¶
MockRepositoryError is a mock implementation of the RepositoryErrorInterface
func (*MockRepositoryError) Code ¶
func (e *MockRepositoryError) Code() string
func (*MockRepositoryError) Error ¶
func (e *MockRepositoryError) Error() string
func (*MockRepositoryError) HTTPStatus ¶
func (e *MockRepositoryError) HTTPStatus() int
func (*MockRepositoryError) IsRepositoryError ¶
func (e *MockRepositoryError) IsRepositoryError() bool
type MockValidationError ¶
type MockValidationError struct {
Msg string
}
MockValidationError is a mock implementation of the ValidationErrorInterface
func (*MockValidationError) Code ¶
func (e *MockValidationError) Code() string
func (*MockValidationError) Error ¶
func (e *MockValidationError) Error() string
func (*MockValidationError) HTTPStatus ¶
func (e *MockValidationError) HTTPStatus() int
func (*MockValidationError) IsValidationError ¶
func (e *MockValidationError) IsValidationError() bool
Click to show internal directories.
Click to hide internal directories.