mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 19:25:18 -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
df1ae4d512
commit
8515d824b7
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