Documentation ¶
Index ¶
- func IsAlreadyExists(err error) bool
- func IsInternal(err error) bool
- func IsInvalid(err error) bool
- func IsNotFound(err error) bool
- func New(err error, kind fmt.Stringer, opts ...Option) error
- func NewAlreadyExists(kind fmt.Stringer, opts ...Option) error
- func NewInternal(opts ...Option) error
- func NewInvalid(err string, kind fmt.Stringer, opts ...Option) error
- func NewNotFound(kind fmt.Stringer, opts ...Option) error
- type GQLError
- type Option
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
func IsInternal ¶
func IsNotFound ¶
func NewInternal ¶
Types ¶
type Option ¶
type Option func(*GQLError)
func WithCustomArgument ¶
func WithDetails ¶
func WithNamespace ¶
Click to show internal directories.
Click to hide internal directories.