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:
Philip Molares 2021-02-25 13:51:54 +01:00
parent 4ab6db0031
commit bee2333f77
3 changed files with 11 additions and 0 deletions

View file

@ -31,3 +31,7 @@ export class TooManyTokensError extends Error {
export class PermissionsUpdateInconsistentError extends Error {
name = 'PermissionsUpdateInconsistentError';
}
export class MediaBackendError extends Error {
name = 'MediaBackendError';
}