{
  "id": "@typed/router#catch_",
  "canonicalId": "@typed/router#catch_",
  "symbol": {
    "id": "@typed/router#catch_",
    "packageName": "@typed/router",
    "moduleName": ".",
    "exportName": "catch_",
    "kind": "constant",
    "signatures": [
      "export declare const catch_: {\n    <I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): (input: I) => Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;\n    <I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(input: I, f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;\n};"
    ],
    "summary": "Handles the first typed failure from an Fx or Matcher.",
    "sections": {
      "Why": "Convenient recovery does not swallow defect or interruption causes.",
      "Ownership and lifetime": "Calling the combinator constructs an Fx. Typed recovery runs inside the consumer Scope; defects and interruption are re-emitted without a replacement lifetime.",
      "Call signatures": "Creates a data-first or data-last typed-failure recovery Fx.",
      "Call signatures: Why": "The first typed failure is recoverable without converting defects or interruption into ordinary\napplication errors.",
      "Call signatures: Ownership and lifetime": "Calling this signature only constructs an Fx. Recovery runs in the consumer Scope; unmatched\ncomplete causes are forwarded without starting a fallback subscription."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/Matcher.ts",
      "line": 1603
    },
    "since": "1.0.0",
    "category": "Route recovery"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router#catch_",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/router",
    "exportName": "catch_",
    "qualifiedName": "catch_",
    "declarationKey": "declaration:de52c43f4f8292fcaa687439",
    "family": "variable",
    "signatures": [
      "export declare const catch_: {\n    <I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): (input: I) => Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;\n    <I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(input: I, f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 1603,
          "column": 14
        },
        "end": {
          "line": 1645,
          "column": 2
        }
      },
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 1619,
          "column": 3
        },
        "end": {
          "line": 1621,
          "column": 96
        }
      },
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 1623,
          "column": 3
        },
        "end": {
          "line": 1626,
          "column": 82
        }
      }
    ],
    "aliases": [
      "@typed/router#catch",
      "@typed/router/Matcher#catch",
      "@typed/router/Matcher#catch_"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:de52c43f4f8292fcaa687439",
    "name": "catch_",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const catch_: {\n    <I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): (input: I) => Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;\n    <I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(input: I, f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/Matcher.ts",
            "start": {
              "line": 1603,
              "column": 14
            },
            "end": {
              "line": 1645,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): (input: I) => Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;",
          "<I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(input: I, f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;"
        ],
        "typeParameters": [
          "I extends Fx.Fx.Any | Matcher.Any",
          "B",
          "E2",
          "R2"
        ],
        "sourceSpans": [
          {
            "file": "packages/router/src/Matcher.ts",
            "start": {
              "line": 1619,
              "column": 3
            },
            "end": {
              "line": 1621,
              "column": 96
            }
          },
          {
            "file": "packages/router/src/Matcher.ts",
            "start": {
              "line": 1623,
              "column": 3
            },
            "end": {
              "line": 1626,
              "column": 82
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const catch_: {\n    <I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): (input: I) => Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;\n    <I extends Fx.Fx.Any | Matcher.Any, B, E2, R2>(input: I, f: (e: InputError<I>) => Fx.Fx<B, E2, R2>): Fx.Fx<InputSucces<I> | B, E2, InputServices<I> | R2 | Router | Scope.Scope>;\n};"
    ],
    "typeParameters": [
      "I extends Fx.Fx.Any | Matcher.Any",
      "B",
      "E2",
      "R2"
    ],
    "summary": "Handles the first typed failure from an Fx or Matcher.",
    "sections": {
      "Why": "Convenient recovery does not swallow defect or interruption causes.",
      "Ownership and lifetime": "Calling the combinator constructs an Fx. Typed recovery runs inside the consumer Scope; defects and interruption are re-emitted without a replacement lifetime.",
      "Call signatures": "Creates a data-first or data-last typed-failure recovery Fx.",
      "Call signatures: Why": "The first typed failure is recoverable without converting defects or interruption into ordinary\napplication errors.",
      "Call signatures: Ownership and lifetime": "Calling this signature only constructs an Fx. Recovery runs in the consumer Scope; unmatched\ncomplete causes are forwarded without starting a fallback subscription."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 1603,
          "column": 14
        },
        "end": {
          "line": 1645,
          "column": 2
        }
      },
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 1619,
          "column": 3
        },
        "end": {
          "line": 1621,
          "column": 96
        }
      },
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 1623,
          "column": 3
        },
        "end": {
          "line": 1626,
          "column": 82
        }
      }
    ],
    "since": "1.0.0",
    "category": "Route recovery"
  }
}
