-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CastIt.Domain] Added a new ffmpeg exception
- Loading branch information
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using CastIt.Domain.Enums; | ||
|
||
namespace CastIt.Domain.Exceptions | ||
{ | ||
public class FFmpegInvalidExecutable : BaseAppException | ||
{ | ||
public FFmpegInvalidExecutable(string ffmpegPath, string ffprobePath) : this( | ||
$"Either the ffmpeg exe = {ffmpegPath} or ffprobe exe = {ffprobePath} are not valid or were not found", | ||
AppMessageType.FFmpegExecutableNotFound) | ||
{ | ||
} | ||
|
||
private FFmpegInvalidExecutable(string message, AppMessageType errorMessageId) | ||
: base(message, errorMessageId) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters