com.lightbend.lagom.scaladsl.api.transport
TransportErrorCode 
            Companion trait TransportErrorCode
          
      object TransportErrorCode extends Serializable
- Source
 - Exceptions.scala
 
- Alphabetic
 - By Inheritance
 
- TransportErrorCode
 - Serializable
 - Serializable
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        val
      
      
        BadRequest: TransportErrorCode
      
      
      
A bad request, most often this will be equivalent to unsupported data.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        Forbidden: TransportErrorCode
      
      
      
A particular operation was forbidden.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        GoingAway: TransportErrorCode
      
      
      
Going away, thrown when the service is unavailable or going away.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        InternalServerError: TransportErrorCode
      
      
      
An internal server error, equivalent to Unexpected Condition.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        MethodNotAllowed: TransportErrorCode
      
      
      
The method being used is not allowed.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        NotAcceptable: TransportErrorCode
      
      
      
The server can't generate a response that meets the clients accepted response types.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        NotFound: TransportErrorCode
      
      
      
A resource was not found, equivalent to policy violation.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        PayloadTooLarge: TransportErrorCode
      
      
      
The payload of a message is too large.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        PolicyViolation: TransportErrorCode
      
      
      
A generic error to used to indicate that the end receiving the error message violated the remote ends policy.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        ProtocolError: TransportErrorCode
      
      
      
A protocol error, or bad request.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        ServiceUnavailable: TransportErrorCode
      
      
      
Service unavailable, thrown when the service is unavailable or going away.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        UnexpectedCondition: TransportErrorCode
      
      
      
A generic error used to indicate that the end sending the error message because it encountered an unexpected condition.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        UnsupportedData: TransportErrorCode
      
      
      
An application level protocol error, such as when a client or server sent data that can't be deserialized.
 - 
      
      
      
        
      
    
      
        
        val
      
      
        UnsupportedMediaType: TransportErrorCode
      
      
      
The client or server doesn't know how to deserialize the request or response.
 -  def apply(http: Int, webSocket: Int, description: String): TransportErrorCode
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        fromHttp(code: Int): TransportErrorCode
      
      
      
Get a transport error code from the given HTTP error code.
Get a transport error code from the given HTTP error code.
- code
 The HTTP error code, must be between 400 and 599 inclusive.
- returns
 The transport error code.
- Exceptions thrown
 IllegalArgumentExceptionif the HTTP code was not between 400 and 599.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        fromWebSocket(code: Int): TransportErrorCode
      
      
      
Get a transport error code from the given WebSocket close code.
Get a transport error code from the given WebSocket close code.
- code
 The WebSocket close code, must be between 0 and 65535 inclusive.
- returns
 The transport error code.
- Exceptions thrown
 IllegalArgumentExceptionif the code is not an unsigned 2 byte integer.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native()