|
|
@@ -30,6 +30,7 @@ export const LANGUAGE_DEFAULT_ERROR_STATUS_MESSAGE_KEYS = [ |
|
|
|
'invalidResource', |
|
|
|
'notImplemented', |
|
|
|
'internalServerError', |
|
|
|
'resourceNotFound', |
|
|
|
] as const; |
|
|
|
|
|
|
|
export const LANGUAGE_DEFAULT_STATUS_MESSAGE_KEYS = [ |
|
|
@@ -37,7 +38,6 @@ export const LANGUAGE_DEFAULT_STATUS_MESSAGE_KEYS = [ |
|
|
|
'ok', |
|
|
|
'resourceCollectionFetched', |
|
|
|
'resourceFetched', |
|
|
|
'resourceNotFound', |
|
|
|
'resourceDeleted', |
|
|
|
'resourcePatched', |
|
|
|
'resourceCreated', |
|
|
@@ -328,5 +328,13 @@ export const FALLBACK_LANGUAGE = { |
|
|
|
'Contact the administrator regarding missing configuration or unavailability of dependencies.', |
|
|
|
], |
|
|
|
], |
|
|
|
resourceNotFound: [ |
|
|
|
'The resource in the provided URL could not be found.', |
|
|
|
[ |
|
|
|
'Check if the request URL is correct.', |
|
|
|
'Try the request again at a later time.', |
|
|
|
'Contact the administrator regarding missing configuration or unavailability of dependencies.', |
|
|
|
], |
|
|
|
], |
|
|
|
}, |
|
|
|
} satisfies Language; |