Package 

Object HttpException.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final HttpException invoke(Integer statusCode, MediaType mediaType, ByteArray body) Creates an HTTP error from a status code.
      final HttpException wrap(Throwable cause) Creates an HTTP error from a generic exception.
      final HttpException getCANCELLED() Shortcut for a cancelled HTTP error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait