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 committed by David Mehren
parent df1ae4d512
commit 8515d824b7
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
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';
}