Documentation
¶
Overview ¶
Package errors contains errors for the domain "hnu".
This file is automatically generated by errawr-gen. Do not modify it.
Index ¶
Constants ¶
const BackoffContextCancelledErrorCode = "hnu_backoff_context_cancelled_error"
BackoffContextCancelledErrorCode is the code for an instance of "context_cancelled_error".
Variables ¶
var BackoffSection = &impl.ErrorSection{
Key: "backoff",
Title: "Net util backoff errors",
}
BackoffSection defines a section of errors with the following scope: Net util backoff errors
var Domain = &impl.ErrorDomain{
Key: "hnu",
Title: "Horsehead network utilities",
}
Domain is the general domain in which all errors in this package belong.
Functions ¶
func IsBackoffContextCancelledError ¶
IsBackoffContextCancelledError tests whether a given error is an instance of "context_cancelled_error".
Types ¶
type BackoffContextCancelledErrorBuilder ¶
type BackoffContextCancelledErrorBuilder struct {
// contains filtered or unexported fields
}
BackoffContextCancelledErrorBuilder is a builder for "context_cancelled_error" errors.
func NewBackoffContextCancelledErrorBuilder ¶
func NewBackoffContextCancelledErrorBuilder() *BackoffContextCancelledErrorBuilder
NewBackoffContextCancelledErrorBuilder creates a new error builder for the code "context_cancelled_error".
func (*BackoffContextCancelledErrorBuilder) Build ¶
func (b *BackoffContextCancelledErrorBuilder) Build() Error
Build creates the error for the code "context_cancelled_error" from this builder.
type Error ¶
Error is the type of all errors generated by this package.
func NewBackoffContextCancelledError ¶
func NewBackoffContextCancelledError() Error
NewBackoffContextCancelledError creates a new error with the code "context_cancelled_error".