diff --git a/src/api/utils/descriptions.ts b/src/api/utils/descriptions.ts new file mode 100644 index 000000000..ba1d637fe --- /dev/null +++ b/src/api/utils/descriptions.ts @@ -0,0 +1,13 @@ +/* + * SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file) + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + +export const unauthorizedDescription = + 'Authorization information is missing or invalid'; +export const forbiddenDescription = + 'Access to the requested resource is not permitted'; +export const notFoundDescription = 'The requested resource was not found'; +export const successfullyDeletedDescription = + 'The requested resource was sucessfully deleted';