@hmcts/ccpay-web-component 5.0.1-beta17 → 5.0.1-beta18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -221,6 +221,9 @@ var ErrorHandlerService = /** @class */ (function () {
221
221
  errorMessage = err.error;
222
222
  }
223
223
  }
224
+ else if (err.status === 500) {
225
+ errorMessage = 'Internal server error';
226
+ }
224
227
  else if (err.error.messsage === undefined) {
225
228
  if (typeof err.error === 'object') {
226
229
  errorMessage = JSON.parse(JSON.stringify(err.error)).error;