MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / APIError

Struct APIError

shared/contracts/http.go:10–13  ·  view source on GitHub ↗

APIError is the error structure for the API.

Source from the content-addressed store, hash-verified

8
9// APIError is the error structure for the API.
10type APIError struct {
11 Code string `json:"code"`
12 Message string `json:"message"`
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected