-
public class BithumanErrorlibessence
be_statuscodes (mirror ofbe_statusin libessence_v0.h). Compare against BithumanException.code to handle specific failures.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerUNKNOWNprivate final IntegerOKprivate final IntegerINVALID_ARGprivate final IntegerFILE_NOT_FOUNDprivate final IntegerFILE_CORRUPTprivate final IntegerMODEL_LOAD_FAILEDprivate final IntegerOUT_OF_MEMORYprivate final IntegerAUDIO_FORMATprivate final IntegerBUFFER_TOO_SMALLprivate final IntegerINFERENCE_FAILEDprivate final IntegerINTERNALprivate final IntegerNOT_IMPLEMENTEDprivate final IntegerNO_AUTHprivate final IntegerAUTH_FATALpublic final static BithumanErrorINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetUNKNOWN()No status was attached to the exception. final IntegergetOK()final IntegergetINVALID_ARG()final IntegergetFILE_NOT_FOUND()final IntegergetFILE_CORRUPT()final IntegergetMODEL_LOAD_FAILED()final IntegergetOUT_OF_MEMORY()final IntegergetAUDIO_FORMAT()Wrong sample count for a tick — also the "no more ticks yet" end-of-stream signal. final IntegergetBUFFER_TOO_SMALL()final IntegergetINFERENCE_FAILED()final IntegergetINTERNAL()final IntegergetNOT_IMPLEMENTED()final IntegergetNO_AUTH()tick* called before a successful auth — re-authenticate and retry. final IntegergetAUTH_FATAL()Heartbeat hit HTTP 402/403 — the session is terminated; do not retry. -
-
Method Detail
-
getUNKNOWN
final Integer getUNKNOWN()
No status was attached to the exception.
-
getINVALID_ARG
final Integer getINVALID_ARG()
-
getFILE_NOT_FOUND
final Integer getFILE_NOT_FOUND()
-
getFILE_CORRUPT
final Integer getFILE_CORRUPT()
-
getMODEL_LOAD_FAILED
final Integer getMODEL_LOAD_FAILED()
-
getOUT_OF_MEMORY
final Integer getOUT_OF_MEMORY()
-
getAUDIO_FORMAT
final Integer getAUDIO_FORMAT()
Wrong sample count for a tick — also the "no more ticks yet" end-of-stream signal.
-
getBUFFER_TOO_SMALL
final Integer getBUFFER_TOO_SMALL()
-
getINFERENCE_FAILED
final Integer getINFERENCE_FAILED()
-
getINTERNAL
final Integer getINTERNAL()
-
getNOT_IMPLEMENTED
final Integer getNOT_IMPLEMENTED()
-
getNO_AUTH
final Integer getNO_AUTH()
tick* called before a successful auth — re-authenticate and retry.
-
getAUTH_FATAL
final Integer getAUTH_FATAL()
Heartbeat hit HTTP 402/403 — the session is terminated; do not retry.
-
-
-
-