Documentation ¶
Index ¶
- func AlreadyExists(msg string, tags ...Tag) error
- func Canceled(msg string, tags ...Tag) error
- func Combine(errs ...error) error
- func DeadlineExceeded(msg string, tags ...Tag) error
- func Internal(msg string, err error, tags ...Tag) error
- func InvalidArgument(msg string, tags ...Tag) error
- func New(msg string) error
- func Newf(f string, args ...interface{}) error
- func NotFound(msg string, tags ...Tag) error
- func PermissionDenied(msg string, tags ...Tag) error
- func ResourceExhausted(msg string, tags ...Tag) error
- func Unauthenticated(msg string, tags ...Tag) error
- func Unavailable(msg string, tags ...Tag) error
- func Unimplemented(msg string, tags ...Tag) error
- type Error
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceExhausted ¶
ResourceExhausted ...
Types ¶
type Error ¶
type Error struct { Target string `json:"target"` // The error target, with the line of code Reason string `json:"reason"` // The error reason Message string `json:"message"` // The error message // contains filtered or unexported fields }
Error represents an error with context.
type Tag ¶
type Tag interface { Key() string Value() interface{} }
Tag describe the minimum behaviour a tag should have - i.e. a key value pair.
func WithCategory ¶
WithCategory represents a category to which will be transformed into a datadog stats tag.
Click to show internal directories.
Click to hide internal directories.