Skip to content

Commit fb774c5

Browse files
committed
fix: typo in const name
1 parent 8ca91e6 commit fb774c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cdkConstructs/src/constructs/StateMachine/CatchAllErrorPass.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {Pass} from "aws-cdk-lib/aws-stepfunctions"
22
import {Construct} from "constructs"
33

4-
const severErrorOperationOutcome = `{% $string(
4+
const errorOperationOutcome = `{% $string(
55
{
66
"ResourceType": "OperationOutcome",
77
"meta": {
@@ -29,7 +29,7 @@ const severErrorOperationOutcome = `{% $string(
2929
/** Produces a fixed 500 FHIR OperationOutcome payload for unhandled workflow failures. */
3030
export class CatchAllErrorPass extends Construct {
3131
/** Pass state returned by this construct for chaining in state machine definitions. */
32-
public readonly state
32+
public readonly state: Pass
3333

3434
/** Creates a terminal-style error response payload without exposing internal exception detail. */
3535
public constructor(scope: Construct, id: string) {
@@ -43,7 +43,7 @@ export class CatchAllErrorPass extends Construct {
4343
"Content-Type": "application/fhir+json",
4444
"Cache-Control": "no-cache"
4545
},
46-
body: severErrorOperationOutcome
46+
body: errorOperationOutcome
4747
}
4848
}
4949
})

0 commit comments

Comments
 (0)