diff options
author | rsiddharth <s@ricketyspace.net> | 2021-02-11 22:57:46 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2021-02-11 22:57:46 -0500 |
commit | 99a4f2f4e29e7963977ba16bf3aba3463a1c61d1 (patch) | |
tree | e45770f571fdfc15f94e630fb274e7d045c9ea71 | |
parent | 3217e3fbad29188009cb6df88d2db6792b8aa109 (diff) |
lib: add CPError
-rw-r--r-- | lib/error.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/error.go b/lib/error.go new file mode 100644 index 0000000..3b49a05 --- /dev/null +++ b/lib/error.go @@ -0,0 +1,11 @@ +// Copyright © 2021 rsiddharth <s@ricketyspace.net> +// SPDX-License-Identifier: ISC + +package lib + +// CryptoPals Error +type CPError struct { + err string +} + +func (e CPError) Error() string { return e.err } |