mirror of
https://github.com/swift-server/swift-service-lifecycle
synced 2026-11-26 04:57:53 +00:00
## Motivation To aid debugging and troubleshooting, it is helpful to understand which Service led to the error. ## Modifications Add the service name to the `serviceFinishedUnexpectedly` error. ## Result Easier to debug failing services.
15 lines
255 B
Markdown
15 lines
255 B
Markdown
# ``ServiceLifecycle/ServiceGroupError``
|
|
|
|
## Topics
|
|
|
|
### Inspecting the errors
|
|
|
|
- ``errorCode``
|
|
- ``Code``
|
|
|
|
### Service Group Errors
|
|
|
|
- ``serviceFinishedUnexpectedly(file:line:service:)``
|
|
- ``alreadyRunning(file:line:)``
|
|
- ``alreadyFinished(file:line:)``
|