skyline/src/resources/code.js
zhuyue 15128f67e3 fix: Fix for 5xx error & errorWithDetail params
1. fix for 5xx error
2. change the order of errorWithDetail params

Change-Id: I7a6807aeb5ca6d6c508d8bdf8dfdbd7e507705d9
2021-08-23 04:34:01 +00:00

9 lines
300 B
JavaScript

export const statusMap = {
500: t('Internal Server Error (code: 500) '),
501: t('Not Implemented (code: 501) '),
502: t('Bad Gateway (code: 502) '),
503: t('Service Unavailable (code: 503) '),
504: t('Gateway Time-out (code: 504) '),
505: t('HTTP Version not supported (code: 505) '),
};