Package 

Enum HttpException.Kind

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      MalformedRequest

      The provided request was not valid.

      MalformedResponse

      The received response couldn't be decoded.

      Timeout

      The client, server or gateways timed out.

      BadRequest

      (400) The server cannot or will not process the request due to an apparent client error.

      Unauthorized

      (401) Authentication is required and has failed or has not yet been provided.

      Forbidden

      (403) The server refuses the action, probably because we don't have the necessary permissions.

      NotFound

      (404) The requested resource could not be found.

      ClientError

      (4xx) Other client errors

      ServerError

      (5xx) Server errors

      Offline

      The device is offline.

      Cancelled

      The request was cancelled.

      Other

      An error whose kind is not recognized.

    • Method Summary

      Modifier and Type Method Description
      final HttpException.Kind valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<HttpException.Kind> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final Integer getUserMessageId()
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • valueOf

         final HttpException.Kind valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<HttpException.Kind> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.