13 lines
399 B
Go
13 lines
399 B
Go
package forge
|
|
|
|
// AccessError identifies an actionable connection failure without returning a
|
|
// credential or a transport's raw response to the dashboard.
|
|
type AccessError struct {
|
|
Code string `json:"code"`
|
|
Connection string `json:"connection,omitempty"`
|
|
Operation string `json:"operation"`
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
func (e *AccessError) Error() string { return e.Message }
|