Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceError ¶
type ServiceError struct { Type Type `json:"type"` Message string `json:"message"` Status int `json:"status"` }
func NewServiceError ¶
func NewServiceError(errorType Type, message string, status int) *ServiceError
func (*ServiceError) Error ¶
func (e *ServiceError) Error() string
Click to show internal directories.
Click to hide internal directories.