DamlDecodeException
Thrown when a Value does not have the shape a reader expects. Every Value.as… extension below throws it on a sum-case mismatch (the message names both the expected and the actual case), and ValueOuterClass.Record.requireField throws it for a missing field.