mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-21 04:33:04 +00:00
28 lines
1.2 KiB
TypeScript
28 lines
1.2 KiB
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export const okDescription = 'This request was successful';
|
|
export const createdDescription =
|
|
'The requested resource was successfully created';
|
|
export const noContentDescription =
|
|
'The requested resource was successfully deleted';
|
|
export const badRequestDescription =
|
|
"The request is malformed and can't be processed";
|
|
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';
|
|
export const unprocessableEntityDescription =
|
|
"The request change can't be processed";
|
|
export const conflictDescription =
|
|
'The request conflicts with the current state of the application';
|
|
export const payloadTooLargeDescription =
|
|
'The note is longer than the maximal allowed length of a note';
|
|
export const internalServerErrorDescription =
|
|
'The request triggered an internal server error.';
|