MCPcopy Create free account
hub / github.com/gotify/server / Error

Struct Error

model/error.go:8–24  ·  view source on GitHub ↗

Error Model The Error contains error relevant information. swagger:model Error

Source from the content-addressed store, hash-verified

6//
7// swagger:model Error
8type Error struct {
9 // The general error message
10 //
11 // required: true
12 // example: Unauthorized
13 Error string `json:"error"`
14 // The http error code.
15 //
16 // required: true
17 // example: 401
18 ErrorCode int `json:"errorCode"`
19 // The http error code.
20 //
21 // required: true
22 // example: you need to provide a valid access token or user credentials to access this api
23 ErrorDescription string `json:"errorDescription"`
24}

Callers 1

AppStoreClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected