public static class TdApi.Error extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
int |
code
Error code; subject to future changes.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
message
Error message; subject to future changes.
|
Constructor and Description |
---|
Error()
An object of this type can be returned on every function call, in case of an error.
|
Error(int code,
java.lang.String message)
An object of this type can be returned on every function call, in case of an error.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int code
public java.lang.String message
public static final int CONSTRUCTOR
public Error()
public Error(int code, java.lang.String message)
code
- 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
- Error message; subject to future changes.public int getConstructor()
getConstructor
in class TdApi.Object