getErrorCodeInfo static method
Implementation
static getErrorCodeInfo(int code) {
switch (code) {
case 0:
return '成功';
case 500:
return 'error500';
}
return 'unknown code';
}
static getErrorCodeInfo(int code) {
switch (code) {
case 0:
return '成功';
case 500:
return 'error500';
}
return 'unknown code';
}