Spectre.Doctor (Spectre v0.3.4)

Copy Markdown View Source

Read-only public-contract diagnostics that never start resources or invoke stores.

Summary

Functions

Returns the stable Doctor report contract version.

Runs runtime, Foundation, Agent, Stack, package, and store diagnostics.

Functions

contract_version()

@spec contract_version() :: 1

Returns the stable Doctor report contract version.

run(opts)

@spec run(keyword()) :: {:ok, Spectre.Doctor.Report.t()} | {:error, term()}

Runs runtime, Foundation, Agent, Stack, package, and store diagnostics.

When :agent is present, optional :router_opts diagnoses the effective Router Adapter order and availability under a trusted runtime override. :router_opts must be a keyword list and cannot be used without :agent.