documentation: Add rule action

This commit is contained in:
世界
2024-11-06 19:02:55 +08:00
parent 6823670f3d
commit d297ad4c56
22 changed files with 1076 additions and 43 deletions

View File

@@ -34,7 +34,7 @@ func (h *Inbound) UnmarshalJSONContext(ctx context.Context, content []byte) erro
}
registry := service.FromContext[InboundOptionsRegistry](ctx)
if registry == nil {
return E.New("missing inbound options registry in context")
return E.New("missing Inbound fields registry in context")
}
options, loaded := registry.CreateOptions(h.Type)
if !loaded {