Location returns the package path-qualified function name and line of where the error was most recently created or annotated.
()
| 125 | // Location returns the package path-qualified function name and line of where |
| 126 | // the error was most recently created or annotated. |
| 127 | func (e *Err) Location() (function string, line int) { |
| 128 | return e.function, e.line |
| 129 | } |
| 130 | |
| 131 | // Underlying returns the previous error in the error stack, if any. A client |
| 132 | // should not ever really call this method. It is used to build the error |
nothing calls this directly
no outgoing calls
no test coverage detected