github.com/haraldrudell/parl@v0.4.176/infallible.go (about) 1 /* 2 © 2022–present Harald Rudell <harald.rudell@gmail.com> (https://haraldrudell.github.io/haraldrudell/) 3 ISC License 4 */ 5 6 package parl 7 8 import ( 9 "github.com/haraldrudell/parl/perrors" 10 "github.com/haraldrudell/parl/pruntime" 11 ) 12 13 func Infallible(err error) { 14 Log("\nInfallible FAILED\n\nerr:\n%s\n\nInfallible invocation:\n%s\n", 15 perrors.Long(err), pruntime.DebugStack(0)) 16 }