StopWithResponse
mill.api.daemon.StopWithResponse
class StopWithResponse[R](val response: R) extends ControlThrowable
Exception thrown to stop the RPC server loop while still sending a response. This allows a controlled shutdown where the client receives a proper response before the server stops processing requests.
Extends ControlThrowable so it bypasses NonFatal catches in task evaluation.
Attributes
- Source
- StopWithResponse.scala
- Graph
-
- Supertypes
-
class ControlThrowableclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- Throwable
Concrete fields
Attributes
- Source
- StopWithResponse.scala
In this article