package httptypes
import "go.etcd.io/etcd/server/v3/etcdserver/api/etcdhttp/types"
Index ¶
Types ¶
type HTTPError ¶
type HTTPError struct {
Message string `json:"message"`
// Code is the HTTP status code
Code int `json:"-"`
}
func NewHTTPError ¶
func (HTTPError) Error ¶
func (HTTPError) WriteTo ¶
Source Files ¶
errors.go
- Version
- v3.7.1 (latest)
- Published
- Jul 23, 2026
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 4 hours ago –
Tools for package owners.