summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/error.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/error.go b/lib/error.go
index 3b49a05..6df5aa9 100644
--- a/lib/error.go
+++ b/lib/error.go
@@ -5,7 +5,7 @@ package lib
// CryptoPals Error
type CPError struct {
- err string
+ Err string
}
-func (e CPError) Error() string { return e.err }
+func (e CPError) Error() string { return e.Err }