diff options
-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 } |