Implement ErrParsingFailed error

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-05-19 15:50:57 +02:00
parent bdd987f246
commit b68c019e93
3 changed files with 15 additions and 9 deletions

View file

@ -45,6 +45,8 @@ var (
// ErrNotImplemented is returned when a backend doesn't implement
// an action
ErrNotImplemented = errors.New("not implemented")
// ErrParsingFailed
ErrParsingFailed = errors.New("parsing failed")
)
// IsNotFoundError returns true if the unwrapped error is ErrNotFound