Go to file
Arpit Mohan 2acb44382c Merge branch 'feature/http-error-handling' into 'master'
Standardizing Http error handling

Fixes #9

Sending standardized HTTP error codes to the client application. This structure ensures that we can define the http error code, app error code and (in future) localized string when we want to.

Now when we want to send any error message to the client, we should add it to the enum `AppsmithError` and throw an `AppsmithException` by passing this enum value to the constructor. In the future, we can also localize these error messages by defining the template message in a `messages_en.properties` file.

See merge request theappsmith/internal-tools-server!8
2019-08-28 09:35:06 +00:00
app/server Sending standardized HTTP error codes to the client application. This structure ensures that we can define the http error code, app error code and (in future) localized string when we want to. 2019-08-28 09:35:06 +00:00