MCPcopy Index your code
hub / github.com/koding/kite / Error

Struct Error

errors.go:15–20  ·  view source on GitHub ↗

Error is the type of the kite related errors returned from kite package.

Source from the content-addressed store, hash-verified

13
14// Error is the type of the kite related errors returned from kite package.
15type Error struct {
16 Type string `json:"type"`
17 Message string `json:"message"`
18 CodeVal string `json:"code"`
19 RequestID string `json:"id"`
20}
21
22func (e Error) Code() string {
23 return e.CodeVal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected