com.lightbend.lagom.scaladsl.api.transport
A bad request, most often this will be equivalent to unsupported data.
A particular operation was forbidden.
Going away, thrown when the service is unavailable or going away.
An internal server error, equivalent to Unexpected Condition.
The method being used is not allowed.
The server can't generate a response that meets the clients accepted response types.
A resource was not found, equivalent to policy violation.
The payload of a message is too large.
A generic error to used to indicate that the end receiving the error message violated the remote ends policy.
A protocol error, or bad request.
Service unavailable, thrown when the service is unavailable or going away.
A generic error used to indicate that the end sending the error message because it encountered an unexpected condition.
An application level protocol error, such as when a client or server sent data that can't be deserialized.
The client or server doesn't know how to deserialize the request or response.
Get a transport error code from the given HTTP error code.
Get a transport error code from the given HTTP error code.
The HTTP error code, must be between 400 and 599 inclusive.
The transport error code.
IllegalArgumentException
if the HTTP code was not between 400 and 599.
Get a transport error code from the given WebSocket close code.
Get a transport error code from the given WebSocket close code.
The WebSocket close code, must be between 0 and 65535 inclusive.
The transport error code.
IllegalArgumentException
if the code is not an unsigned 2 byte integer.