Documentation
¶
Index ¶
- Constants
- func Denied(err error, message ...string) error
- func InvalidInput(err error, message ...string) error
- func Locked(err error, message ...string) error
- func NotFound(err error, message ...string) error
- func PreConditionFailed(err error, message ...string) error
- func StatusCodeFrom(err error) int
- func Unauthenticated(err error, message ...string) error
- func Unavailable(err error, message ...string) error
- func Wrap(err error) error
- type CustomError
Constants ¶
View Source
const (
OutOfRange = 11 // codes.OutOfRange
)
Variables ¶
This section is empty.
Functions ¶
func InvalidInput ¶
func PreConditionFailed ¶
func StatusCodeFrom ¶
func Unauthenticated ¶
func Unavailable ¶
Types ¶
type CustomError ¶
type CustomError struct {
// contains filtered or unexported fields
}
func (*CustomError) Error ¶
func (e *CustomError) Error() string
Click to show internal directories.
Click to hide internal directories.