File tree Expand file tree Collapse file tree
packages/cdkConstructs/src/constructs/StateMachine Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { Pass } from "aws-cdk-lib/aws-stepfunctions"
22import { 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. */
3030export 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 } )
You can’t perform that action at this time.
0 commit comments