mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04:00
MediaService: Add MediaBackendError
This get's thrown when the backend can't perform the required action. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
4ab6db0031
commit
bee2333f77
3 changed files with 11 additions and 0 deletions
|
@ -31,3 +31,7 @@ export class TooManyTokensError extends Error {
|
|||
export class PermissionsUpdateInconsistentError extends Error {
|
||||
name = 'PermissionsUpdateInconsistentError';
|
||||
}
|
||||
|
||||
export class MediaBackendError extends Error {
|
||||
name = 'MediaBackendError';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue