fix: translation (#647)

* fix: translation

* fix: translation

* fix: translation

* fix: remove unused code

* fix: log err
This commit is contained in:
Fabi
2020-08-28 09:44:43 +02:00
committed by GitHub
parent 34ec2508d3
commit 7295383621
25 changed files with 184 additions and 104 deletions

View File

@@ -44,6 +44,10 @@ func (err *CaosError) GetMessage() string {
return err.Message
}
func (err *CaosError) SetMessage(msg string) {
err.Message = msg
}
func (err *CaosError) GetID() string {
return err.ID
}

View File

@@ -9,6 +9,7 @@ import (
type Error interface {
GetParent() error
GetMessage() string
SetMessage(string)
GetID() string
}