mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
6be68dc059
changelog_begin changelog_end
16 lines
443 B
Haskell
16 lines
443 B
Haskell
-- Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
-- SPDX-License-Identifier: Apache-2.0
|
|
|
|
module LowLevelErrorTrigger where
|
|
|
|
import Daml.Trigger.LowLevel
|
|
import DA.Time
|
|
|
|
trigger : Trigger ()
|
|
trigger = Trigger
|
|
{ initialState = \party _ _ -> ((), [])
|
|
, update = \_ _ () -> error "Intentional error"
|
|
, registeredTemplates = AllInDar
|
|
, heartbeat = Some (convertMicrosecondsToRelTime 1)
|
|
}
|