nidus-sync/platform/error.go
Eli Ribble ee61b6d24b
Move review actions into the platform, emit events on change
Still not seeing updates in the sidebar, however.
2026-03-19 16:55:49 +00:00

14 lines
284 B
Go

package platform
import (
"fmt"
)
type ErrorNotFound struct {
message string
}
func (e ErrorNotFound) Error() string { return fmt.Sprintf("not found: %s", e.message) }
func newNotFound(format string, m ...any) error {
return &ErrorNotFound{message: fmt.Sprintf(format, m...)}
}