object TransportErrorCode extends Serializable

Source
Exceptions.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransportErrorCode
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val BadRequest: TransportErrorCode

    A bad request, most often this will be equivalent to unsupported data.

  5. val Forbidden: TransportErrorCode

    A particular operation was forbidden.

  6. val GoingAway: TransportErrorCode

    Going away, thrown when the service is unavailable or going away.

  7. val InternalServerError: TransportErrorCode

    An internal server error, equivalent to Unexpected Condition.

  8. val MethodNotAllowed: TransportErrorCode

    The method being used is not allowed.

  9. val NotAcceptable: TransportErrorCode

    The server can't generate a response that meets the clients accepted response types.

  10. val NotFound: TransportErrorCode

    A resource was not found, equivalent to policy violation.

  11. val PayloadTooLarge: TransportErrorCode

    The payload of a message is too large.

  12. val PolicyViolation: TransportErrorCode

    A generic error to used to indicate that the end receiving the error message violated the remote ends policy.

  13. val ProtocolError: TransportErrorCode

    A protocol error, or bad request.

  14. val ServiceUnavailable: TransportErrorCode

    Service unavailable, thrown when the service is unavailable or going away.

  15. val UnexpectedCondition: TransportErrorCode

    A generic error used to indicate that the end sending the error message because it encountered an unexpected condition.

  16. val UnsupportedData: TransportErrorCode

    An application level protocol error, such as when a client or server sent data that can't be deserialized.

  17. val UnsupportedMediaType: TransportErrorCode

    The client or server doesn't know how to deserialize the request or response.

  18. def apply(http: Int, webSocket: Int, description: String): TransportErrorCode
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. 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

    IllegalArgumentException if the HTTP code was not between 400 and 599.

  25. 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

    IllegalArgumentException if the code is not an unsigned 2 byte integer.

  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped