Improve error handling and presentation

This commit is contained in:
problematicconsumer
2023-10-02 23:57:20 +03:30
parent e1108dc1a7
commit 81658a1c86
6 changed files with 58 additions and 29 deletions

View File

@@ -63,7 +63,7 @@
"update": {
"buttonTxt": "Update",
"tooltip": "Update Profile",
"failureMsg": "Update Failed: ${reason}",
"failureMsg": "Update Failed",
"successMsg": "Profile updated successfully"
},
"edit": {
@@ -241,6 +241,13 @@
"notFound": "Profile Not Found",
"invalidUrl": "Invalid URL",
"invalidConfig": "Invalid Configs"
},
"connection": {
"unexpected": "Unexpected error",
"timeout": "Connection timeout",
"badCertificate": "Bad certificate",
"badResponse": "Bad response",
"connectionError": "Connection error"
}
}
}