# Bug Advisor Bridge

ApiVault provides generic external error ingestion and a passive BugGrabber adapter shape.

## Generic ingest

```lua
ApiVault.BugAdvisor:IngestError({
    addon = "MyAddon",
    message = "MyAddon/Core.lua:42: attempt to index field 'settings' (a nil value)",
    stack = debugstack and debugstack() or nil,
    source = "Custom"
})
```

## Convenience API

```lua
ApiVault:IngestExternalError({
    addon = "MyAddon",
    message = "...",
    stack = "...",
    source = "CustomBugDetector"
})
```

## Passive BugGrabber adapter shape

```lua
local adapter = ApiVault.ExternalErrorBridge:CreateBugGrabberAdapter()
adapter:Ingest({
    addon = "MyAddon",
    message = "...",
    stack = "...",
})
```

No BugGrabber internals are assumed unless BugGrabber source/API documentation is supplied.
