Package 

Object Result.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 <T extends Any> Result<T> success(T data) Creates a Result object with data payload.
      final <T extends Any> Result<T> error(Throwable t) Creates a Result object with error payload.
      final <T extends Any> Result<T> error(ChatError error) Creates a Result object with error payload.
      • Methods inherited from class java.lang.Object

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