apps 0.0.1-beta.142 → 0.0.1-beta.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/check-publish.mjs +0 -1
- package/framework-reference.json +1 -1
- package/js/{chunk-I6QAWNUM.js → chunk-2OGVSUNI.js} +2 -2
- package/js/{chunk-RIOLCZAV.js → chunk-455CCO6Q.js} +9 -17
- package/js/{chunk-W2C3IOZJ.js → chunk-5MEOL2SG.js} +32 -29
- package/js/{chunk-PQKQIH3T.js → chunk-6NRWFVK2.js} +10 -31
- package/js/{chunk-WZ36P57R.js → chunk-6OWHQINS.js} +11 -16
- package/js/{chunk-LSOHA2RH.js → chunk-6XBOKQ4E.js} +1 -1
- package/js/{chunk-H2K7OZ47.js → chunk-7A4ZSEM3.js} +1 -1
- package/js/{chunk-QTX7OUFH.js → chunk-A6FRLRCN.js} +2 -3
- package/js/{chunk-ZQVWMEH6.js → chunk-AFEMXP3F.js} +6 -7
- package/js/{chunk-Z5O7ON6S.js → chunk-B2PSDMZP.js} +2 -2
- package/js/{chunk-Q7PE4PLU.js → chunk-B4JN2A6F.js} +3 -3
- package/js/{chunk-VX36SA7Y.js → chunk-BHSWVS3Q.js} +1 -1
- package/js/{chunk-APPCHQHK.js → chunk-BU3UOD2T.js} +4 -4
- package/js/{chunk-HMYAZUNZ.js → chunk-EXL6F456.js} +6 -4
- package/js/{chunk-6QZVXLF2.js → chunk-INQON4A2.js} +2 -2
- package/js/{chunk-MB6L5YZE.js → chunk-IWLFLMIL.js} +1 -1
- package/js/{chunk-EKXBHVMR.js → chunk-JLHRRTRH.js} +8 -15
- package/js/{chunk-YFSOSNF3.js → chunk-NXEGROI6.js} +116 -116
- package/js/{chunk-ICIVU5SQ.js → chunk-OFSXKKD6.js} +27 -42
- package/js/{chunk-63DHI5Y4.js → chunk-QDF7PQAD.js} +6 -8
- package/js/{chunk-YVN2AMAU.js → chunk-QLUWYCOT.js} +2 -2
- package/js/{chunk-JH3MOQZR.js → chunk-T4MICYGT.js} +10 -51
- package/js/{chunk-OBT33ZDK.js → chunk-TMYRAFMC.js} +3 -3
- package/js/{chunk-2XDCAXAR.js → chunk-W6V5OIHB.js} +1 -1
- package/js/{chunk-34RH47V5.js → chunk-XR7KZNKD.js} +2 -2
- package/js/client.js +10 -15
- package/js/contracts.js +9 -7
- package/js/effect.js +18 -18
- package/js/graphql.js +20 -22
- package/js/host.js +18 -20
- package/js/index.js +14 -19
- package/js/mcp/effect.js +19 -19
- package/js/mcp.js +21 -21
- package/js/openapi.js +18 -25
- package/js/react.js +2 -2
- package/js/skills/effect.js +6 -6
- package/js/skills.js +21 -27
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +5 -5
- package/js/ui/serving.js +10 -10
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/app-cache/src/index.d.ts +1 -40
- package/types/app-data/src/contracts/database.d.ts +0 -21
- package/types/apps/src/contracts/host.d.ts +6 -0
- package/types/telemetry/src/app-records.d.ts +0 -24
- package/types/telemetry/src/browser-operations.d.ts +0 -8
- package/types/telemetry/src/browser-performance.d.ts +0 -2
- package/types/telemetry/src/browser-request-timing.d.ts +0 -1
- package/types/telemetry/src/browser.d.ts +0 -10
- package/types/telemetry/src/config.d.ts +0 -8
- package/types/telemetry/src/context.d.ts +0 -6
- package/types/telemetry/src/index.d.ts +0 -1
- package/types/telemetry/src/keepalive.d.ts +0 -44
- package/types/telemetry/src/layer.d.ts +0 -8
- package/types/telemetry/src/measurements.d.ts +0 -8
- package/types/telemetry/src/ownership.d.ts +0 -45
- package/types/telemetry/src/pending-span.d.ts +0 -2
- package/types/telemetry/src/recorded-failure.d.ts +0 -26
- package/types/telemetry/src/relay.d.ts +0 -29
- package/types/telemetry/src/span-attributes.d.ts +0 -38
- package/types/telemetry/src/trace-context.d.ts +0 -6
- package/types/telemetry/src/transport.d.ts +0 -10
- package/types/utils/src/api-error.d.ts +0 -22
- package/types/utils/src/connection-failure.d.ts +0 -10
- package/types/utils/src/random-uuid.d.ts +0 -5
- package/types/utils/src/recorded-message.d.ts +0 -15
- package/types/utils/src/schema-definitions.d.ts +0 -6
- package/types/utils/src/user-facing-error.d.ts +0 -19
|
@@ -1,48 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HTTP span attributes are allowlisted. Nothing else in an HTTP namespace is recorded.
|
|
3
|
-
*
|
|
4
|
-
* Effect's HTTP client and its server tracer write every request and response
|
|
5
|
-
* header, the full URL and the query string onto their spans. This product
|
|
6
|
-
* routes provider API keys through header and query names chosen by an imported
|
|
7
|
-
* OpenAPI spec, and carries bearer capabilities such as the one-click
|
|
8
|
-
* unsubscribe token in a query parameter and in a redirect `Location` header.
|
|
9
|
-
* No list of dangerous names can keep up with that, so HTTP spans record a
|
|
10
|
-
* fixed set of attributes and drop everything else.
|
|
11
|
-
*
|
|
12
|
-
* The allowlist runs on the tracer because that is the single point where the
|
|
13
|
-
* client tracer and the server tracer meet. Effect's
|
|
14
|
-
* `HttpClient.TracerHeaderFilter` controls outgoing headers only: nothing
|
|
15
|
-
* configures the URL attributes on either side, and the server tracer has no
|
|
16
|
-
* header hook at all. A second filter on the client would duplicate this one
|
|
17
|
-
* rather than complete it, so this is the only boundary.
|
|
18
|
-
*
|
|
19
|
-
* Attributes outside these namespaces are the product's own and pass through.
|
|
20
|
-
*/
|
|
21
1
|
import { Effect, Layer } from "effect";
|
|
22
|
-
/** Every HTTP attribute an exported span may carry. */
|
|
23
2
|
export declare const httpSpanAttributeAllowlist: ReadonlySet<string>;
|
|
24
|
-
/** Record this attribute? HTTP names must be allowlisted; product names pass through. */
|
|
25
3
|
export declare const spanAttributeAllowed: (key: string) => boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Record the template of a route whose path an app or its caller chose, in place of the router's
|
|
28
|
-
* wildcard: an app's own page or asset, or an app's outbound request. Its last parameter stands
|
|
29
|
-
* for the rest of the path. It annotates the current span, so call it from the request's handler.
|
|
30
|
-
*/
|
|
31
4
|
export declare const recordRoute: (template: `/${string}`) => Effect.Effect<void, never, never>;
|
|
32
|
-
/**
|
|
33
|
-
* A fixed set of endpoint templates served under one wildcard route, such as Better Auth's
|
|
34
|
-
* endpoints under `/api/auth/*`. `:name` stands for one segment. `record` names the request's
|
|
35
|
-
* endpoint by its template and leaves the wildcard for any path the set does not hold, so a span
|
|
36
|
-
* keeps which endpoint ran without any segment the caller chose.
|
|
37
|
-
*/
|
|
38
5
|
export declare const routeTemplates: (templates: Iterable<`/${string}`>) => {
|
|
39
6
|
match: (path: string) => `/${string}` | undefined;
|
|
40
7
|
record: (path: string) => Effect.Effect<void, never, never>;
|
|
41
8
|
};
|
|
42
|
-
/**
|
|
43
|
-
* Wrap whichever tracer is already in scope; provide this above the exporter. `ended` runs after
|
|
44
|
-
* each span has ended, once the exporter holds it.
|
|
45
|
-
*/
|
|
46
9
|
export declare const spanAttributes: (clock?: "system" | "cloudflare-io", recordAll?: boolean, ended?: () => void) => Layer.Layer<never>;
|
|
47
|
-
/** Header and URL filtering without making an unsupported claim about the runtime clock. */
|
|
48
10
|
export declare const allowlistedSpans: Layer.Layer<never, never, never>;
|
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
/** Safe W3C identifiers for correlation across transports that do not carry HTTP headers. */
|
|
2
1
|
import { Effect, Option, Schema, Tracer } from "effect";
|
|
3
|
-
/** Trace metadata conveys no authorization and must never contain app values or credentials. */
|
|
4
2
|
export declare const TraceContext: Schema.Struct<{
|
|
5
3
|
readonly traceId: Schema.String;
|
|
6
4
|
readonly spanId: Schema.String;
|
|
7
5
|
readonly sampled: Schema.Boolean;
|
|
8
6
|
}>;
|
|
9
|
-
/** Decoded, non-authorizing trace identity. */
|
|
10
7
|
export type TraceContext = typeof TraceContext.Type;
|
|
11
|
-
/** Capture only the current span's transport-safe identity. */
|
|
12
8
|
export declare const currentTraceContext: Effect.Effect<{
|
|
13
9
|
readonly traceId: string;
|
|
14
10
|
readonly spanId: string;
|
|
15
11
|
readonly sampled: boolean;
|
|
16
12
|
} | undefined, never, never>;
|
|
17
|
-
/** Invalid or absent optional telemetry never prevents otherwise valid application data from rendering. */
|
|
18
13
|
export declare const externalTrace: (input: unknown) => Option.Option<Tracer.ExternalSpan>;
|
|
19
|
-
/** Link a measurement to the observed request without inventing a parent/child lifetime. */
|
|
20
14
|
export declare const traceLinks: (input: unknown, relationship: string) => ReadonlyArray<Tracer.SpanLink>;
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
import { Context, Layer } from "effect";
|
|
2
2
|
import { HttpClient, HttpClientError } from "effect/http";
|
|
3
|
-
/** Local collector discovery can resolve its destination when an export runs. */
|
|
4
3
|
export declare const CurrentTelemetryClient: Context.Reference<HttpClient.HttpClient | undefined>;
|
|
5
|
-
/** Telemetry consumers inspect status and headers; release response I/O inside each export scope. */
|
|
6
4
|
export declare const telemetryHttpClient: Layer.Layer<HttpClient.HttpClient, never, never>;
|
|
7
|
-
/**
|
|
8
|
-
* Resend an export the collector refused for now, as OTLP requires and Effect's own
|
|
9
|
-
* exporters do: lost connections, timeouts, 429 and 5xx overload, at most three more times. A
|
|
10
|
-
* collector shedding load answers 429 or 503 with Retry-After, which sets the wait, as long as the
|
|
11
|
-
* next attempt, with its own time-out, still ends within `exportBudget`; a longer wait is shortened
|
|
12
|
-
* to that, so the last attempt runs before the runtime would cut it off. When no attempt fits, the
|
|
13
|
-
* export ends with its last failure.
|
|
14
|
-
*/
|
|
15
5
|
export declare const retryTelemetryExport: (client: HttpClient.HttpClient) => HttpClient.HttpClient.With<HttpClientError.HttpClientError, never>;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { Schema, type Cause } from "effect";
|
|
2
2
|
import "effect/http-api";
|
|
3
|
-
/**
|
|
4
|
-
* Encode the class's `message` getter as a required wire string. Decoding validates the field,
|
|
5
|
-
* then omits it, so the class derives its own message from the parsed payload and a supplied
|
|
6
|
-
* value never replaces it.
|
|
7
|
-
*/
|
|
8
3
|
export declare const MessageField: Schema.decodeTo<Schema.optionalKey<Schema.String>, Schema.String, never, never>;
|
|
9
|
-
/** An expected API error whose response states its cause in a `message` derived from its fields. */
|
|
10
4
|
export interface ApiError extends Cause.YieldableError {
|
|
11
5
|
readonly _tag: string;
|
|
12
6
|
}
|
|
@@ -18,17 +12,7 @@ type Definition<Tag extends string, Fields extends Schema.Struct.Fields> = Heade
|
|
|
18
12
|
readonly fields: Fields & {
|
|
19
13
|
readonly [Key in "_tag" | "message"]?: never;
|
|
20
14
|
};
|
|
21
|
-
/**
|
|
22
|
-
* The cause, stated for API and agent callers. It is also the error's `message`, which traces
|
|
23
|
-
* record, so it never includes credentials, upstream response text or submitted values.
|
|
24
|
-
*/
|
|
25
15
|
readonly message: string | ((fields: Schema.Struct.Type<Fields>) => string);
|
|
26
|
-
/**
|
|
27
|
-
* What traces and error reports record beside the tag. A fixed `message` is recorded as is; a
|
|
28
|
-
* message derived from fields is recorded only through this, from fixed text and closed fields,
|
|
29
|
-
* never a value the caller chose, an app's text or a service's reply. Without it the error is
|
|
30
|
-
* recorded by its tag alone.
|
|
31
|
-
*/
|
|
32
16
|
readonly recorded?: (fields: Schema.Struct.Type<Fields>) => string;
|
|
33
17
|
};
|
|
34
18
|
type ErrorFields<Tag extends string, Fields extends Schema.Struct.Fields> = Omit<Schema.TaggedStruct<Tag, Fields & {
|
|
@@ -39,16 +23,10 @@ type ErrorFields<Tag extends string, Fields extends Schema.Struct.Fields> = Omit
|
|
|
39
23
|
type ErrorClass<Tag extends string, Fields extends Schema.Struct.Fields> = Schema.Class<Schema.Struct.Type<Fields> & ApiError & {
|
|
40
24
|
readonly _tag: Tag;
|
|
41
25
|
}, ErrorFields<Tag, Fields>, ApiError>;
|
|
42
|
-
/** Define an error with no payload and a fixed message. Its tag is its public error code. */
|
|
43
26
|
declare function define<const Tag extends string>(definition: Header<Tag> & {
|
|
44
27
|
readonly message: string;
|
|
45
28
|
}): ErrorClass<Tag, {}>;
|
|
46
|
-
/** Define an error whose message can depend on its parsed fields. */
|
|
47
29
|
declare function define<const Tag extends string, const Fields extends Schema.Struct.Fields>(definition: Definition<Tag, Fields>): ErrorClass<Tag, Fields>;
|
|
48
|
-
/**
|
|
49
|
-
* Define the schema, constructor and API message of an expected error together. Errors that need
|
|
50
|
-
* a user-facing title and recovery use `UserFacingError`, which carries the same message field.
|
|
51
|
-
*/
|
|
52
30
|
export declare const ApiError: {
|
|
53
31
|
define: typeof define;
|
|
54
32
|
};
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
/** Requests the browser could not complete because no response reached it. */
|
|
2
1
|
import { Cause } from "effect";
|
|
3
2
|
import { HttpClientError } from "effect/http";
|
|
4
3
|
import { UserFacingError } from "./user-facing-error.js";
|
|
5
|
-
/**
|
|
6
|
-
* Fetch rejects with a `TypeError` when no response arrives: the device is offline, the page
|
|
7
|
-
* navigated away first, the connection was reset before a response, or the browser blocked the
|
|
8
|
-
* request. The server may still have completed the request and records its own outcome. Failures Executor constructs itself, such as a batch reply
|
|
9
|
-
* that ended without an answer, carry no such cause and stay unexpected.
|
|
10
|
-
*/
|
|
11
4
|
export declare const isConnectionFailure: (error: unknown) => error is HttpClientError.HttpClientError;
|
|
12
|
-
/** Typed API clients may surface a lost connection as a failure or, after narrowing, a defect. */
|
|
13
5
|
export declare const hasConnectionFailure: (cause: Cause.Cause<unknown>) => boolean;
|
|
14
|
-
/** The browser could not reach Executor. Nothing on the server needs fixing. */
|
|
15
6
|
export declare const ConnectionFailed: import("effect/Schema").Class<{} & UserFacingError & {
|
|
16
7
|
readonly _tag: "ConnectionFailed";
|
|
17
8
|
}, Omit<import("effect/Schema").TaggedStruct<"ConnectionFailed", {
|
|
@@ -29,5 +20,4 @@ export declare const ConnectionFailed: import("effect/Schema").Class<{} & UserFa
|
|
|
29
20
|
};
|
|
30
21
|
}, UserFacingError>;
|
|
31
22
|
export type ConnectionFailed = typeof ConnectionFailed.Type;
|
|
32
|
-
/** What to show for a failure no contract declares: a lost connection, or an unexpected error. */
|
|
33
23
|
export declare const undeclaredError: (cause: Cause.Cause<unknown>) => UserFacingError;
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A random UUID v4 for browser code. Browsers expose `crypto.randomUUID` only in secure contexts,
|
|
3
|
-
* and a self-hosted dashboard may be served over plain HTTP on a LAN address, where it is missing.
|
|
4
|
-
* `getRandomValues` exists in every context, so this is the one path everywhere.
|
|
5
|
-
*/
|
|
6
1
|
export declare const randomUuid: () => string;
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The fixed sentence traces and error reports record for a tagged error, beside its tag. Telemetry
|
|
3
|
-
* records no other text from a tagged error: one that declares no sentence is recorded by its tag
|
|
4
|
-
* alone (`@executor-js/telemetry/recorded-failure`). Declare one from fixed text and closed fields
|
|
5
|
-
* only, never from a value the caller supplied (a slug, a name, a tool name, an argument's key),
|
|
6
|
-
* an app's own text or a service's reply. That text still reaches the caller the error is for.
|
|
7
|
-
* `ApiError` and `UserFacingError` declare a fixed message for you; a message derived from fields
|
|
8
|
-
* declares `recorded`.
|
|
9
|
-
*/
|
|
10
1
|
export declare const RecordedMessage: unique symbol;
|
|
11
|
-
/** The fixed sentence an error declares for telemetry, if it declares one. */
|
|
12
2
|
export declare const recordedMessage: (error: unknown) => string | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* Declare a recorded message on one error that Executor did not define the text of, such as an
|
|
15
|
-
* error decoded from an app's reply. An error class's own declaration is kept. The error's fields
|
|
16
|
-
* and wire encoding are unchanged.
|
|
17
|
-
*/
|
|
18
3
|
export declare const recordAs: <E>(error: E, message: string) => E;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Helpers for the `$defs` of JSON Schema documents, shared by the encodings that send or keep each
|
|
3
|
-
* definition once: an app's shared catalog and a kept tool listing's text.
|
|
4
|
-
*/
|
|
5
1
|
import type { Schema } from "effect";
|
|
6
|
-
/** Add an own entry. Assignment would set the prototype for an entry named `__proto__`. */
|
|
7
2
|
export declare const putEntry: <A>(target: Record<string, A>, name: string, value: A) => void;
|
|
8
3
|
type JsonEntries = {
|
|
9
4
|
readonly [key: string]: Schema.Json;
|
|
10
5
|
};
|
|
11
|
-
/** A JSON Schema document's `$defs`, when it is an object of entries. */
|
|
12
6
|
export declare const schemaDefinitions: (schema: JsonEntries | undefined) => JsonEntries | undefined;
|
|
13
7
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Schema, type Cause } from "effect";
|
|
2
2
|
import "effect/http-api";
|
|
3
3
|
import { MessageField } from "./api-error.js";
|
|
4
|
-
/** Curated explanation and recovery. Never include raw diagnostics, credentials, or form values. */
|
|
5
4
|
export interface ErrorPresentation {
|
|
6
5
|
readonly title: string;
|
|
7
6
|
readonly description: string;
|
|
@@ -9,19 +8,12 @@ export interface ErrorPresentation {
|
|
|
9
8
|
readonly action: string;
|
|
10
9
|
readonly instructions: string;
|
|
11
10
|
};
|
|
12
|
-
/** Repeating the failed operation can help. Configuration changes are not retries. */
|
|
13
11
|
readonly retryable?: boolean;
|
|
14
|
-
/** False when the user's agent cannot act on the fix prompt, so hosts do not offer it. */
|
|
15
12
|
readonly agentFixable?: boolean;
|
|
16
|
-
/** One safe value the user needs for recovery, such as a URL to send to the service. */
|
|
17
13
|
readonly detail?: {
|
|
18
14
|
readonly label: string;
|
|
19
15
|
readonly value: string;
|
|
20
16
|
};
|
|
21
|
-
/**
|
|
22
|
-
* Present only when the Executor team must fix the problem. Safe evidence for a public
|
|
23
|
-
* report: fixed codes and statuses, never user data, URLs, or upstream text.
|
|
24
|
-
*/
|
|
25
17
|
readonly report?: string;
|
|
26
18
|
}
|
|
27
19
|
type PresentationProperties = Required<Omit<ErrorPresentation, "detail" | "report">> & {
|
|
@@ -30,7 +22,6 @@ type PresentationProperties = Required<Omit<ErrorPresentation, "detail" | "repor
|
|
|
30
22
|
readonly code: string;
|
|
31
23
|
readonly fixPrompt: string;
|
|
32
24
|
};
|
|
33
|
-
/** A yieldable error that owns its safe user explanation and agent recovery task. */
|
|
34
25
|
export interface UserFacingError extends Cause.YieldableError, PresentationProperties {
|
|
35
26
|
readonly _tag: string;
|
|
36
27
|
}
|
|
@@ -42,12 +33,6 @@ type Definition<Tag extends string, Fields extends Schema.Struct.Fields> = Heade
|
|
|
42
33
|
readonly fields: Fields & {
|
|
43
34
|
readonly [Key in keyof PresentationProperties | "_tag" | "message"]?: never;
|
|
44
35
|
};
|
|
45
|
-
/**
|
|
46
|
-
* What traces and error reports record beside the tag. A fixed description is recorded as is; a
|
|
47
|
-
* presentation derived from fields is recorded only through this, from fixed text and closed
|
|
48
|
-
* fields, never a value the caller chose, an app's text or a service's reply. Without it the
|
|
49
|
-
* error is recorded by its tag alone.
|
|
50
|
-
*/
|
|
51
36
|
readonly recorded?: (fields: Schema.Struct.Type<Fields>) => string;
|
|
52
37
|
} & (ErrorPresentation | {
|
|
53
38
|
readonly presentation: (fields: Schema.Struct.Type<Fields>) => ErrorPresentation;
|
|
@@ -69,15 +54,11 @@ type ErrorFields<Tag extends string, Fields extends Schema.Struct.Fields> = Omit
|
|
|
69
54
|
type ErrorClass<Tag extends string, Fields extends Schema.Struct.Fields> = Schema.Class<Schema.Struct.Type<Fields> & UserFacingError & {
|
|
70
55
|
readonly _tag: Tag;
|
|
71
56
|
}, ErrorFields<Tag, Fields>, UserFacingError>;
|
|
72
|
-
/** Define a schema-backed error with no payload. Its tag becomes its public error code. */
|
|
73
57
|
declare function define<const Tag extends string>(definition: Header<Tag> & ErrorPresentation): ErrorClass<Tag, {}>;
|
|
74
|
-
/** Define a schema-backed error whose safe presentation can depend on its parsed fields. */
|
|
75
58
|
declare function define<const Tag extends string, const Fields extends Schema.Struct.Fields>(definition: Definition<Tag, Fields>): ErrorClass<Tag, Fields>;
|
|
76
|
-
/** Define the schema, error constructor, user copy, and agent recovery together. */
|
|
77
59
|
export declare const UserFacingError: {
|
|
78
60
|
define: typeof define;
|
|
79
61
|
is: (value: unknown) => value is UserFacingError;
|
|
80
62
|
};
|
|
81
|
-
/** Defects get a safe explanation without exposing an arbitrary cause. */
|
|
82
63
|
export declare const UnexpectedError: ErrorClass<"UnexpectedError", {}>;
|
|
83
64
|
export {};
|