mirror of
https://github.com/warmbly/warmbly.git
synced 2026-10-15 08:02:42 +00:00
11 lines
296 B
Go
11 lines
296 B
Go
package repository
|
|
|
|
import "fmt"
|
|
|
|
// ControlPlaneHTTPError exposes only status, never response bodies, to worker evidence.
|
|
type ControlPlaneHTTPError struct{ Status int }
|
|
|
|
func (e *ControlPlaneHTTPError) Error() string {
|
|
return fmt.Sprintf("control-plane request failed: status %d", e.Status)
|
|
}
|