(err error)
| 99 | } |
| 100 | |
| 101 | func IsTwoFactorRecoveryCodeNotFound(err error) bool { |
| 102 | _, ok := err.(ErrTwoFactorRecoveryCodeNotFound) |
| 103 | return ok |
| 104 | } |
| 105 | |
| 106 | func (err ErrTwoFactorRecoveryCodeNotFound) Error() string { |
| 107 | return fmt.Sprintf("two-factor recovery code does not found [code: %s]", err.Code) |
no outgoing calls