Locationer is an interface that represents a certain class of errors that contain the location information from where they were raised.
| 35 | // Locationer is an interface that represents a certain class of errors that |
| 36 | // contain the location information from where they were raised. |
| 37 | type Locationer interface { |
| 38 | // Location returns the path-qualified function name where the error was |
| 39 | // created and the line number |
| 40 | Location() (function string, line int) |
| 41 | } |
| 42 | |
| 43 | // locationError is the internal implementation of the Locationer interface. |
| 44 | type locationError struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…