(error)
| 74 | } |
| 75 | |
| 76 | function serializeOutboundPolicyError(error) { |
| 77 | if (!isOutboundPolicyError(error)) return null; |
| 78 | |
| 79 | return { |
| 80 | code: error.code, |
| 81 | reason: error.reason, |
| 82 | message: error.message, |
| 83 | }; |
| 84 | } |
| 85 | |
| 86 | function parseStrictBoolean(value) { |
| 87 | if (value === undefined || value === null || value === "") return null; |
no test coverage detected