mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
![]() The ErrorExceptionMapping class maps internal error to nestjs's appropriate HttpException. The object returned by those HttpExceptions is now changed to include the name of the intern error code and error message instead of statusCode and error message as is default. This makes it possible to more easily programmatically distinguish between two errors that map to the same HttpException and only differ in the error message. The statusCode was unnecessary, because any user of the api gets this information already by which HttpException was used. Signed-off-by: Philip Molares <philip.molares@udo.edu> |
||
---|---|---|
.. | ||
api | ||
auth | ||
authors | ||
config | ||
errors | ||
frontend-config | ||
groups | ||
history | ||
identity | ||
logger | ||
media | ||
monitoring | ||
notes | ||
permissions | ||
revisions | ||
users | ||
utils | ||
app.module.ts | ||
main.ts | ||
seed.ts |