MCPcopy Create free account
hub / github.com/Scalingo/cli / errorQuit

Function errorQuit

cmd/error.go:67–71  ·  view source on GitHub ↗
(ctx context.Context, err error)

Source from the content-addressed store, hash-verified

65}
66
67func errorQuit(ctx context.Context, err error) {
68 displayError(ctx, err)
69
70 os.Exit(1)
71}
72
73func displayError(ctx context.Context, err error) {
74 currentUser, autherr := config.C.CurrentUser(ctx)

Callers 15

logs.goFile · 0.85
env.goFile · 0.85
databases.goFile · 0.85
changelog.goFile · 0.85
destroy.goFile · 0.85
rename.goFile · 0.85
dashboard.goFile · 0.85
influxdb.goFile · 0.85
backups.goFile · 0.85
redis.goFile · 0.85
timeline.goFile · 0.85
regionalCommandActionFunction · 0.85

Calls 1

displayErrorFunction · 0.85

Tested by

no test coverage detected