Skip to content

Commit

Permalink
Add error package with custom error variables
Browse files Browse the repository at this point in the history
  • Loading branch information
xfrr committed Nov 25, 2023
1 parent ea33221 commit 70e7953
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ffmpeg/error/error.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package fferror

import "fmt"

var (
ErrUnableToFindOutputFormat = fmt.Errorf("unable to find a suitable output format")
ErrInputFileNotFound = fmt.Errorf("no such file or directory")
)

0 comments on commit 70e7953

Please sign in to comment.