Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClientErr = NewClientError("") ServerErr = NewServerError(errors.New("")) NotFoundErr = NewNotFoundError("") )
Functions ¶
func NewClientError ¶
func NewNotFoundError ¶
func NewServerError ¶
Types ¶
type ClientError ¶
type ClientError struct {
// contains filtered or unexported fields
}
func (*ClientError) Error ¶
func (c *ClientError) Error() string
func (*ClientError) Is ¶
func (c *ClientError) Is(err error) bool
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
func (*NotFoundError) Error ¶
func (n *NotFoundError) Error() string
func (*NotFoundError) Is ¶
func (n *NotFoundError) Is(err error) bool
type ServerError ¶
type ServerError struct {
// contains filtered or unexported fields
}
func (*ServerError) Error ¶
func (s *ServerError) Error() string
func (*ServerError) Is ¶
func (s *ServerError) Is(err error) bool
Click to show internal directories.
Click to hide internal directories.