Documentation ¶ Index ¶ func Is(err error) bool func New(ctx context.Context, reason string) error type Error func (e *Error) Ctx() context.Context func (e *Error) Error() string func (e *Error) IsInputValidationError() bool type ErrorInt Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Is ¶ func Is(err error) bool func New ¶ func New(ctx context.Context, reason string) error Types ¶ type Error ¶ type Error struct { // contains filtered or unexported fields } func (*Error) Ctx ¶ func (e *Error) Ctx() context.Context func (*Error) Error ¶ func (e *Error) Error() string func (*Error) IsInputValidationError ¶ func (e *Error) IsInputValidationError() bool type ErrorInt ¶ type ErrorInt interface { Ctx() context.Context IsInputValidationError() bool } Source Files ¶ View all Source files error.go Click to show internal directories. Click to hide internal directories.