LastMUD/internal/ecs/error.go
2025-06-27 09:45:55 +03:00

17 lines
210 B
Go

package ecs
import "fmt"
type ecsError struct {
err string
}
func newECSError(v ...any) *ecsError {
return &ecsError{
err: fmt.Sprint(v...),
}
}
func (err *ecsError) Error() string {
return err.err
}