Skip to content

Commit

Permalink
Update service/tbc/crawler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Sing <joshua@bloq.com>
  • Loading branch information
marcopeereboom and joshuasing authored Nov 1, 2024
1 parent d555009 commit e0773d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/tbc/crawler.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ var (
}
)

type NotLinear string
type NotLinearError string

func (en NotLinear) Error() string {
return string(en)
func (e NotLinearError) Error() string {
return string(e)
}

func (nl NotLinear) Is(target error) bool {
func (e NotLinearError) Is(target error) bool {
_, ok := target.(NotLinear)

Check failure on line 82 in service/tbc/crawler.go

View workflow job for this annotation

GitHub Actions / Build (1.23.x)

undefined: NotLinear

Check failure on line 82 in service/tbc/crawler.go

View workflow job for this annotation

GitHub Actions / Build (1.23.x)

undefined: NotLinear
return ok
}
Expand Down

0 comments on commit e0773d0

Please sign in to comment.