# Public Developer API — Error Bridge Additions

ApiVault v1.1.4 adds generic external error ingestion for BugGrabber/custom bug detectors.

## 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 bridge

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

## Public Developer API

`ReportError()` now also creates a Bug Advisor record and returns linked advice metadata in the Developer Debug panel.

## Policy

- Input is data only.
- ApiVault does not execute external addon code.
- ApiVault does not assume BugGrabber internals without a supplied adapter/source.
- No runtime source file reads.
- No protected/secure execution.
