package cause
import "github.com/containerd/errdefs/internal/cause"
Package cause is used to define root causes for errors common to errors packages like grpc and http.
Index ¶
Constants ¶
const UnexpectedStatusPrefix = "unexpected status "
Types ¶
type ErrUnexpectedStatus ¶
type ErrUnexpectedStatus struct { Status int }
func (ErrUnexpectedStatus) Error ¶
func (e ErrUnexpectedStatus) Error() string
func (ErrUnexpectedStatus) Unknown ¶
func (ErrUnexpectedStatus) Unknown()
Source Files ¶
- Version
- v0.2.0
- Published
- Sep 2, 2024
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 23 minutes ago –
Tools for package owners.