LastMUD/internal/ecs/error.go

18 lines
210 B
Go
Raw Permalink Normal View History

2025-06-25 20:14:07 +03:00
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
}