forked from frolovo22/tag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
21 lines (19 loc) · 877 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package tag
import "errors"
var (
ErrUnsupportedFormat = errors.New("unsupported format")
ErrIncorrectLength = errors.New("tag incorrect length")
ErrUnsupportedTag = errors.New("unsupported tag")
ErrTagNotFound = errors.New("tag not found")
ErrEmptyFile = errors.New("empty file")
ErrFileMarker = errors.New("error file marker")
ErrReadFile = errors.New("error read file")
ErrSeekFile = errors.New("error seek file")
ErrWriteFile = errors.New("error write file")
ErrIncorrectTag = errors.New("incorrect tag")
ErrNotFoundGenre = errors.New("not found genre")
ErrNotPictureBlock = errors.New("not a picture block")
ErrWriting = errors.New("writing error")
ErrDecodeEvenLength = errors.New("must have even length byte slice")
ErrEncodingFormat = errors.New("unknown encoding format")
)