Package it.tdlight.jni
Class TdApi.Error
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Error
- Enclosing class:
- TdApi
An object of this type can be returned
on every function call, in case of an error.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Error code; subject to future changes.static final int
Error message; subject to future changes. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
code
public int codeError code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user. -
message
Error message; subject to future changes. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
Error
public Error()An object of this type can be returned on every function call, in case of an error. -
Error
An object of this type can be returned on every function call, in case of an error.- Parameters:
code
- int Error code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user.message
- String Error message; subject to future changes.
-
Error
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-