Refactored code structure
This commit is contained in:
parent
9e52e2dd1c
commit
fd6e874b44
54 changed files with 583 additions and 450 deletions
|
@ -1,11 +0,0 @@
|
|||
package errors
|
||||
|
||||
// Base is the base class for errors that have no parameters.
|
||||
type Base struct {
|
||||
Message string
|
||||
}
|
||||
|
||||
// Error generates the string representation.
|
||||
func (err *Base) Error() string {
|
||||
return err.Message
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue