Reference
Arcane.diagnostics
Bounded diagnostic summary and record retrieval.
This focused page is derived from the mechanically checked full member inventory.
Syntax
Arcane.diagnostics
Member kind
Namespace
Description
Bounded diagnostic summary and record retrieval.
Overview
Arcane.diagnostics reads a bounded recent-error summary and retrieves one
structured diagnostic by id. Diagnostic ids are opaque correlation values; they
are not filesystem paths or authorization tokens.
Availability and security
Both methods require diagnostics.read. Diagnostic records can contain
technical context, so applications should minimize display and retention and
must not assume the capability permits exposing them to another user or service.
Example
const access = await globalThis.Arcane.capabilities.list();
const canReadDiagnostics = access.methods.includes('diagnostics.recent');
console.log('Recent diagnostics admitted:', canReadDiagnostics);
Members
Arcane.diagnostics.recentErrors()— Lists up to 60 recent in-memory structured Core errors, newest first. Requires diagnostics.read.Arcane.diagnostics.get()— Gets one current in-memory diagnostic record or rejects after it is evicted. Requires diagnostics.read.