(err error)
| 20 | ) |
| 21 | |
| 22 | func convertFileLockError(err error) error { |
| 23 | if errno, ok := err.(syscall.Errno); ok && datadirInUseErrnos[uint(errno)] { |
| 24 | return ErrDatadirUsed |
| 25 | } |
| 26 | return err |
| 27 | } |
| 28 | |
| 29 | // DuplicateServiceError is returned during Node startup if a registered service |
| 30 | // constructor returns a service of the same type that was already started. |
no outgoing calls
no test coverage detected