{
  "id": "@typed/guard#Guard.Error",
  "canonicalId": "@typed/guard#Guard.Error",
  "symbol": {
    "id": "@typed/guard#Guard.Error",
    "packageName": "@typed/guard",
    "moduleName": ".",
    "exportName": "Guard.Error",
    "kind": "type",
    "signatures": [
      "type Error<T> = [\n    T\n] extends [\n    Guard<infer _I, infer _O, infer E, infer _R>\n] ? E : [\n    T\n] extends [\n    AsGuard<infer _I, infer _O, infer E, infer _R>\n] ? E : never;"
    ],
    "summary": "Extracts the typed error channel from a Guard or Guard adapter.",
    "sections": {
      "Why": "Typed failure remains distinct from `None`, defects, and interruption throughout composition.",
      "Ownership and lifetime": "This compile-time type acquires no resources and has no runtime lifetime."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { Guard } from \"@typed/guard\"\ntype Error = Guard.Error<Guard<string, number, \"Invalid\">>"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/guard/src/index.ts",
      "line": 110
    },
    "since": "1.0.0",
    "category": "Type utilities"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/guard#Guard.Error",
    "packageName": "@typed/guard",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/guard",
    "exportName": "Guard",
    "qualifiedName": "Guard.Error",
    "declarationKey": "declaration:70c7f59697fc5a5a1d656866",
    "family": "type-alias",
    "signatures": [
      "type Error<T> = [\n    T\n] extends [\n    Guard<infer _I, infer _O, infer E, infer _R>\n] ? E : [\n    T\n] extends [\n    AsGuard<infer _I, infer _O, infer E, infer _R>\n] ? E : never;"
    ],
    "sourceSpans": [
      {
        "file": "packages/guard/src/index.ts",
        "start": {
          "line": 110,
          "column": 3
        },
        "end": {
          "line": 114,
          "column": 15
        }
      }
    ],
    "aliases": [
      "@typed/router#GuardType.Error",
      "@typed/router/Matcher#GuardType.Error"
    ],
    "isAlias": false,
    "parentId": "@typed/guard#Guard",
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:70c7f59697fc5a5a1d656866",
    "name": "Error",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "type Error<T> = [\n    T\n] extends [\n    Guard<infer _I, infer _O, infer E, infer _R>\n] ? E : [\n    T\n] extends [\n    AsGuard<infer _I, infer _O, infer E, infer _R>\n] ? E : never;"
        ],
        "typeParameters": [
          "T"
        ],
        "sourceSpans": [
          {
            "file": "packages/guard/src/index.ts",
            "start": {
              "line": 110,
              "column": 3
            },
            "end": {
              "line": 114,
              "column": 15
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "type Error<T> = [\n    T\n] extends [\n    Guard<infer _I, infer _O, infer E, infer _R>\n] ? E : [\n    T\n] extends [\n    AsGuard<infer _I, infer _O, infer E, infer _R>\n] ? E : never;"
    ],
    "typeParameters": [
      "T"
    ],
    "summary": "Extracts the typed error channel from a Guard or Guard adapter.",
    "sections": {
      "Why": "Typed failure remains distinct from `None`, defects, and interruption throughout composition.",
      "Ownership and lifetime": "This compile-time type acquires no resources and has no runtime lifetime."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { Guard } from \"@typed/guard\"\ntype Error = Guard.Error<Guard<string, number, \"Invalid\">>"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/guard/src/index.ts",
        "start": {
          "line": 110,
          "column": 3
        },
        "end": {
          "line": 114,
          "column": 15
        }
      }
    ],
    "since": "1.0.0",
    "category": "Type utilities"
  }
}
