more detailed error message

This commit is contained in:
Joel Wetzell
2026-03-04 19:42:48 -06:00
parent b58187d6a9
commit 078e6ec68c

View File

@@ -104,7 +104,7 @@ func (ns *NATSServer) Start(ctx context.Context) error {
} }
func (ns *NATSServer) Output(ctx context.Context, payload any) error { func (ns *NATSServer) Output(ctx context.Context, payload any) error {
return errors.ErrUnsupported return errors.New("nats.server does not support output")
} }
func (ns *NATSServer) Stop() { func (ns *NATSServer) Stop() {