View definition

func NewErrorFromPanic

Defined in github.com/revel/revel/errors.go

Description

NewErrorFromPanic method finds the deepest stack from in user code and provide a code listing of that, on the line that eventually triggered the panic. Returns nil if no relevant stack frame can be found.