package error
import "github.com/coreos/etcd/error"
Index ¶
Functions ¶
func Message ¶
Types ¶
type Error ¶
type Error struct { ErrorCode int `json:"errorCode"` Message string `json:"message"` Cause string `json:"cause,omitempty"` }
func NewError ¶
func (Error) Error ¶
Only for error interface
func (Error) Write ¶
func (e Error) Write(w http.ResponseWriter)
Source Files ¶
- Version
- v0.1.2
- Published
- Oct 10, 2013
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 11 seconds ago –
Tools for package owners.