Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParentObjectError ¶
type ParentObjectError struct {
// contains filtered or unexported fields
}
ParentObjectError is an error indicating some object as a parent for some reason.
var ErrParentObject ParentObjectError
ErrParentObject allows to check whether error is ParentObjectError via errors.Is.
func NewParentObjectError ¶
func NewParentObjectError(cause error) ParentObjectError
NewParentObjectError constructs ParentObjectError from given cause.
func (ParentObjectError) Is ¶
func (x ParentObjectError) Is(target error) bool
Unwrap implements interface for errors.Is.
func (ParentObjectError) Unwrap ¶
func (x ParentObjectError) Unwrap() error
Unwrap implements interface for errors package funcs.
Click to show internal directories.
Click to hide internal directories.