Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Readd ErrWrongField error (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: bytemare <3641580+bytemare@users.noreply.github.com>
  • Loading branch information
bytemare authored Jan 25, 2023
1 parent 3434eca commit 2ce2010
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ var (
// ErrCastScalar indicates a failed attempt to cast to a scalar.
ErrCastScalar = errors.New("could not cast to same group scalar (wrong group ?)")

// ErrWrongField indicates an incompatible field has been encountered.
ErrWrongField = errors.New("incompatible fields")

// ErrIdentity indicates that the identity point (or point at infinity) has been encountered.
ErrIdentity = errors.New("infinity/identity point")

Expand Down

0 comments on commit 2ce2010

Please sign in to comment.