Error implements the error interface.
()
| 22 | |
| 23 | // Error implements the error interface. |
| 24 | func (e *ExitError) Error() string { |
| 25 | return e.Message |
| 26 | } |
| 27 | |
| 28 | // NewExitError creates a new ExitError with the given code and message. |
| 29 | func NewExitError(code int, message string) *ExitError { |
no outgoing calls