mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
Add general ERROR to plugin result status.
This commit is contained in:
parent
9d3306ccc5
commit
b95ad44c18
@ -63,7 +63,8 @@ public class PluginResult {
|
|||||||
"Malformed url",
|
"Malformed url",
|
||||||
"IO error",
|
"IO error",
|
||||||
"Invalid action",
|
"Invalid action",
|
||||||
"JSON error"
|
"JSON error",
|
||||||
|
"Error"
|
||||||
};
|
};
|
||||||
|
|
||||||
public enum Status {
|
public enum Status {
|
||||||
@ -74,6 +75,7 @@ public class PluginResult {
|
|||||||
MALFORMED_URL_EXCEPTION,
|
MALFORMED_URL_EXCEPTION,
|
||||||
IO_EXCEPTION,
|
IO_EXCEPTION,
|
||||||
INVALID_ACTION,
|
INVALID_ACTION,
|
||||||
JSON_EXCEPTION
|
JSON_EXCEPTION,
|
||||||
|
ERROR
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user