pcmt/modules/hibp/error.go
surtur 247c95f753
All checks were successful
continuous-integration/drone/push Build is passing
go: save all breaches as cache, search by name
* also switch addedDate column to string temporarily, until saving
  yy-mm-dd as time is solved...
2023-08-24 03:59:50 +02:00

16 lines
520 B
Go

// Copyright 2023 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: AGPL-3.0-only
package hibp
import "errors"
var (
ErrAuthKeyCheckValue = errors.New(authKeyCheckValue)
ErrRateLimited = errors.New("We have been rate limited")
ErrBreachNotFound = errors.New("Breach not found")
ErrBreachNotSingular = errors.New("Multiple breaches for one name")
ErrFailedToQueryBreaches = errors.New("Failed to query breaches")
ErrNoBreachesToSave = errors.New("No breaches to save")
)