Class NetworkErrorKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Boolean isStatusBadRequest(Error.NetworkError $self) Checks if the Error.NetworkError was caused by a bad request (HTTP 400).
      final static Boolean isValidationError(Error.NetworkError $self) Checks if the Error.NetworkError was caused by a server error code: VALIDATION_ERROR_ERROR_CODE.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • isStatusBadRequest

         final static Boolean isStatusBadRequest(Error.NetworkError $self)

        Checks if the Error.NetworkError was caused by a bad request (HTTP 400).

      • isValidationError

         final static Boolean isValidationError(Error.NetworkError $self)

        Checks if the Error.NetworkError was caused by a server error code: VALIDATION_ERROR_ERROR_CODE.