Documentation
¶
Index ¶
- func Conflict(format string, args ...any) error
- func ConnectErrorComparer() cmp.Option
- func Convert(err error) *connect.Error
- func Internal(format string, args ...any) error
- func InvalidArgument(format string, args ...any) error
- func IsConflict(err error) bool
- func IsInternal(err error) bool
- func IsInvalidArgument(err error) bool
- func IsNotFound(err error) bool
- func IsUnauthenticated(err error) bool
- func NewConflict(err error) error
- func NewInternal(err error) error
- func NewInvalidArgument(err error) error
- func NewNotFound(err error) error
- func NewUnauthenticated(err error) error
- func NotFound(format string, args ...any) error
- func Unauthenticated(format string, args ...any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectErrorComparer ¶
func Internal ¶
Internal creates a new Internal error with a given error message and the original error.
func InvalidArgument ¶
InvalidArgument creates a new InvalidArgument error with a given error message and the original error.
func IsConflict ¶
func IsInternal ¶
func IsInvalidArgument ¶
func IsNotFound ¶
func IsUnauthenticated ¶
func NewConflict ¶
NewConflict creates a new conflict error with a given error message.
func NewInternal ¶
NewInternal creates a new Internal error with a given error message and the original error.
func NewInvalidArgument ¶
NewInvalidArgument creates a new InvalidArgument error with a given error message and the original error.
func NewNotFound ¶
NewNotFound creates a new notfound error with a given error message.
func NewUnauthenticated ¶
NewUnauthenticated creates a new Unauthenticated error with a given error message and the original error.
func Unauthenticated ¶
Unauthenticated creates a new Unauthenticated error with a given error message and the original error.
Types ¶
This section is empty.