Skip to content

airdress.intercept.*

The events in the airdress.intercept family. How to read a section, and what each audience means, is on the event reference page.

Owner warn Functions

A hook refused an action.

Audience: owner. About the airdress as a whole. Only the owner receives it: the owner’s devices and the owner’s subscriptions.

Where it goes

  • The operator’s journal, as one log line at this level, and the event log, where airdress events tail reads it.
  • Subscriptions that name it, within its audience.
  • Functions bound to this operator’s events (source: operator).

Versions

  • Version 1: first carried by operator v0.1.133.

Data

FieldTypeRequiredDescription
hookstringyes
pointstringyes
reasonstringyes
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A hook refused an action.",
"properties": {
"hook": {
"type": "string"
},
"point": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"hook",
"point",
"reason"
],
"title": "InterceptDenied",
"type": "object"
}
Owner warn Functions

A hook failed: its expression errored or ran out of budget, or its function trapped, ran past its deadline or answered no decision.

Audience: owner. About the airdress as a whole. Only the owner receives it: the owner’s devices and the owner’s subscriptions.

Where it goes

  • The operator’s journal, as one log line at this level, and the event log, where airdress events tail reads it.
  • Subscriptions that name it, within its audience.
  • Functions bound to this operator’s events (source: operator).

Versions

  • Version 1: first carried by operator v0.1.133.

Data

FieldTypeRequiredDescription
errorstringyes
hookstringyes
pointstringyes
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A hook failed: its expression errored or ran out of budget, or its function trapped, ran past its deadline or answered no decision.",
"properties": {
"error": {
"type": "string"
},
"hook": {
"type": "string"
},
"point": {
"type": "string"
}
},
"required": [
"error",
"hook",
"point"
],
"title": "HookFailed",
"type": "object"
}