MCPcopy
hub / github.com/spicetify/cli / Fatal

Function Fatal

src/utils/print.go:103–106  ·  view source on GitHub ↗

Fatal prints fatal message and exits process

(err error)

Source from the content-addressed store, hash-verified

101
102// Fatal prints fatal message and exits process
103func Fatal(err error) {
104 FatalPrefix.Println(err.Error())
105 os.Exit(1)
106}

Callers 15

mainFunction · 0.92
ExtractFunction · 0.92
BackupFunction · 0.92
clearBackupFunction · 0.92
RestoreFunction · 0.92
ShowConfigDirectoryFunction · 0.92
ApplyFunction · 0.92
UpdateFunction · 0.92
permissionErrorFunction · 0.92
WatchFunction · 0.92
arrayTypeFunction · 0.92
stringTypeFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected