(message: string, cause: unknown)
| 58 | } |
| 59 | |
| 60 | export function commitOutcomeUnknown(message: string, cause: unknown): RuntimePolicyStoreError { |
| 61 | return new RuntimePolicyStoreError('commit_outcome_unknown', message, { cause }); |
| 62 | } |
| 63 | |
| 64 | function mapDomainError<T>(decode: () => T, code: CodecSource): T { |
| 65 | try { |
no outgoing calls
no test coverage detected