Package ai.nexconn.chat.error
Class NCError
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class NCError extends ExceptionNexconn SDK unified error class.
All SDK callback errors are delivered through this class, containing an error code and an optional error description message.
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerMETHOD_BUSYprivate final Integercodeprivate final Stringmessageprivate final Throwablecause
-
Constructor Summary
Constructors Constructor Description NCError(Integer code, String message)
-
Method Summary
Modifier and Type Method Description final IntegergetCode()StringgetMessage()StringtoString()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCode
final Integer getCode()
-
getMessage
String getMessage()
-
toString
String toString()
-
-
-
-