Refactored code structure

This commit is contained in:
2024-07-03 11:39:24 +02:00
parent ed03f6a802
commit feebfe65bb
54 changed files with 583 additions and 450 deletions

11
src/build/errors/Base.go Normal file
View File

@ -0,0 +1,11 @@
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
}