Improved scanner
All checks were successful
/ test (push) Successful in 13s

This commit is contained in:
Eduard Urbach 2025-06-19 21:39:04 +02:00
parent adfcd4b60c
commit 9b51680af5
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
8 changed files with 202 additions and 0 deletions

11
src/errors/String.go Normal file
View file

@ -0,0 +1,11 @@
package errors
// String is used for static errors that have no parameters.
type String struct {
Message string
}
// Error implements the error interface.
func (err *String) Error() string {
return err.Message
}